我正在使用 CakePHP 2.x 和 PHP 5.4,但出现以下错误:
Strict (2048): Only variables should be passed by reference [APP/Controller/Component/AttachmentComponent.php, line 106]
Strict (2048): Only variables should be passed by reference [APP/Controller/Component/AttachmentComponent.php, line 169]
Strict (2048): Only variables should be passed by reference [APP/Controller/Component/AttachmentComponent.php, line 169]
https://github.com/tute/Thumbnail-component-for-CakePHP/tree/cake2
使用 php 5.3 一切正常。我怎样才能解决这个问题?