やはりバグなのですね・・・
承知しました。ご回答ありがとうございます。
RSSを表示時にエラー
2016年3月22日 at 12:47
バグではないのかもしれないですが・・・
Concrete5で作成したページのRSS(RSS表示ブロックではないです)にアクセスした際に、以下のエラーが発生しました。
Exception Occurred: *****/concrete/controllers/feed.php:4 Declaration of Concrete\Controller\Feed::get($identifier) should be compatible with Concrete\Core\Controller\AbstractController::get($key = NULL, $defaultValue = NULL) (2)
/concrete/controllers/feed.php
の6行目を
public function get($identifier = null, $defaultValue = null)
と書き換え、
継承元クラスのメソッドと引数を揃えるとエラーが消えました。
エラーが発生したサーバとは異なる環境では問題なかったので、
PHPの設定が原因なのでしょうか・・・
ご回答いただけますと幸いです。
何卒よろしくお願いしたします。
タグ:
Your post has been saved and will be published after approval by the forum moderator.
takuro hishikawa
Re: RSSを表示時にエラー
http://github.com/concrete5/concrete5/pull/3607