我有一个在其他服务器PHP 5.6上运行的CakePHP项目,但这里同样的应用程序没有在PHP 5.6 / 7.0上运行。
我将Croogo与CakePHP一起使用。
它向我显示如下调试错误:
错误:[错误] 不支持的操作数类型堆栈跟踪:#0 /Vendor/cakephp/cakephp/lib/Cake/Core/CakePlugin.php(282): include() #1 /Vendor/cakephp/cakephp/lib/Cake/Core /CakePlugin.php(201): CakePlugin::_includeFile('/var/www/vhosts...', true) #2 /Vendor/cakephp/cakephp/lib/Cake/Core/CakePlugin.php(121): CakePlugin ::bootstrap('Acl') #3 /Vendor/cakephp/cakephp/lib/Cake/Core/CakePlugin.php(94): CakePlugin::load('Acl', Array) #4 /Vendor/croogo/croogo/ Extensions/Lib/CroogoPlugin.php(656): CakePlugin::load(Array, Array) #5 /Vendor/croogo/croogo/Croogo/Config/croogo_bootstrap.php(126): CroogoPlugin::load(Array) #6 /供应商/croogo/croogo/Croogo/Config/bootstrap.php(8): require_once('/var/www/vhosts...') #7 /Vendor/cakephp/cakephp/lib/Cake/Core/CakePlugin.php( 282):include('/var/www/vhosts...') #8 /Vendor/cakephp/cakephp/lib/Cake/Core/CakePlugin.php(201): CakePlugin::_includeFile('/var/www/vhosts.. .', false) #9 /Vendor/cakephp/cakephp/lib/Cake/Core/CakePlugin.php(121): CakePlugin::bootstrap('Croogo') #10 /Config/bootstrap.php(78): CakePlugin: :load('Croogo', Array) #11 /Vendor/cakephp/cakephp/lib/Cake/Core/Configure.php(98): include('/var/www/vhosts...') #12 /Vendor/ cakephp/cakephp/lib/Cake/bootstrap.php(432): Configure::bootstrap(true) #13 /webroot/index.php(90): include('/var/www/vhosts...') #14 {主要的}php(121): CakePlugin::bootstrap('Croogo') #10 /Config/bootstrap.php(78): CakePlugin::load('Croogo', Array) #11 /Vendor/cakephp/cakephp/lib/Cake/ Core/Configure.php(98): include('/var/www/vhosts...') #12 /Vendor/cakephp/cakephp/lib/Cake/bootstrap.php(432): Configure::bootstrap(true) #13 /webroot/index.php(90): include('/var/www/vhosts...') #14 {main}php(121): CakePlugin::bootstrap('Croogo') #10 /Config/bootstrap.php(78): CakePlugin::load('Croogo', Array) #11 /Vendor/cakephp/cakephp/lib/Cake/ Core/Configure.php(98): include('/var/www/vhosts...') #12 /Vendor/cakephp/cakephp/lib/Cake/bootstrap.php(432): Configure::bootstrap(true) #13 /webroot/index.php(90): include('/var/www/vhosts...') #14 {main}
它来自我的 tmp/logs/error.log 文件
有什么解决办法吗?
提前致谢