문제

Strict (2048): Declaration of AjaxHelper::afterRender() should be compatible with Helper::afterRender($viewFile) [APP/View/Helper/AjaxHelper.php, line 1398]

I'm getting this error on my http://code-explore.com site. It's build on CakePHP & there was no problem. But after changing php.ini file by the server administrator I'm getting this problem.

It seems to me it may be caused for changing PHP version.

Any idea about why this occurs & how to solve it?

Thanks.

도움이 되었습니까?

해결책

And you didn't upgrade cakephp/php ? Cause that looks like an incompatible method call, where you don't use a parameter where the (new) afterRender expects a $viewFile parameter.

If you could provide the changes that have been made in the php's ini file that would be helpful.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top