不能使用' null'作为类名,因为它保留混凝土5.7

时间:2016-11-09 08:55:37

标签: php zend-framework concrete5

我将Concrete 5.7网站从php 5.6.x升级到7.0.4并得到以下错误

 {"error":{"type":"Whoops\\Exception\\ErrorException","message":"Cannot use 'Null' as class name as it is reserved","file":"\/usr\/share\/nginx\/html\/concrete\/vendor\/zendframework\/zend-queue\/library\/ZendQueue\/Adapter\/Null.php","line":24,"trace":[{"file":"\/usr\/share\/nginx\/html\/concrete\/vendor\/zendframework\/zend-queue\/library\/ZendQueue\/Adapter\/Null.php","line":24,"function":null,"class":null,"args":[]}]},"errors":["Cannot use 'Null' as class name as it is reserved"]}

触发它的功能本身就是一个具体的功能。

我该怎么做才能解决这个问题?

PHP 7.0.12-1 + deb.sury.org~trusty + 1(cli)(NTS) 版权所有(c)1997-2016 PHP小组 Zend Engine v3.0.0,版权所有(c)1998-2016 Zend Technologies 与Zend OPcache v7.0.12-1 + deb.sury.org~trusty + 1,版权所有(c)1999-2016,作者:Zend Technologies

1 个答案:

答案 0 :(得分:0)

解决方案是将您的concrete5安装升级到当前版本。