Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/256.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Laravel Cartalyst平台显示/bootstrap/cache/config.php存在问题_Php_Laravel 5_Laravel 5.4_Cartalyst Sentinel - Fatal编程技术网

Laravel Cartalyst平台显示/bootstrap/cache/config.php存在问题

Laravel Cartalyst平台显示/bootstrap/cache/config.php存在问题,php,laravel-5,laravel-5.4,cartalyst-sentinel,Php,Laravel 5,Laravel 5.4,Cartalyst Sentinel,使用Laravel Cartalyst平台开发时,我面临/bootstrap/cache/config.php的问题 如果运行php artisan config:cache,将出现以下问题: [Symfony\Component\Debug\Exception\FatalThrowableError] Call to undefined method Closure::__set_state() 如果我删除/bootstrap/cache/config.php,应用程序运行正常,但

使用Laravel Cartalyst平台开发时,我面临/bootstrap/cache/config.php的问题

如果运行
php artisan config:cache
,将出现以下问题:

[Symfony\Component\Debug\Exception\FatalThrowableError]  
  Call to undefined method Closure::__set_state() 
如果我删除/bootstrap/cache/config.php,应用程序运行正常,但只要我运行php artisan config:cache

=> php artisan config:cache 
Configuration cache cleared!
Configuration cached successfully!
在bootstrap/cache中创建了一个新的config.php,但一旦创建了该文件,应用程序就会再次崩溃,出现白色页面

调试php_error.log显示以下信息:

PHP致命错误:未捕获的ReflectionException:类配置不存在 存在于 /Applications/MAMP/htdocs/vendor/laravel/framework/src/illusted/Container/Container.php:719 堆栈跟踪:

0/Applications/MAMP/htdocs/vendor/laravel/framework/src/illusted/Container/Container.php(719): ReflectionClass->\uuuu构造('config'))

1/Applications/MAMP/htdocs/vendor/laravel/framework/src/illusted/Container/Container.php(598): 照亮\Container\Container->build('config')

2/Applications/MAMP/htdocs/vendor/laravel/framework/src/illusted/Container/Container.php(567): 照亮\Container\Container->resolve('config')

3/Applications/MAMP/htdocs/vendor/laravel/framework/src/illusted/Foundation/Application.php(708): 照亮\Container\Container->make('config')

4/Applications/MAMP/htdocs/vendor/laravel/framework/src/illusted/Foundation/helpers.php(107): 照亮\Foundation\Application->make('config')

5/Applications/MAMP/htdocs/in/Applications/MAMP/htdocs/vendor/laravel/framework/src/illusted/Container/Container.php 在线719

我找不到丢失的配置文件,也找不到解决错误的方法


brgds.

这是一个平台问题。Cartalyst已经通过在github存储库中升级解决了这个问题。

这是一个平台问题。Cartalyst已经通过在github存储库中升级解决了这个问题。

尝试composer安装,然后composer转储自动加载-o@VaheGalstyancomposer安装时出现相同错误,composer中没有任何错误dump@VaheGalstyan错误->>php artisan平台:检查环境文件[Symfony\Component\Debug\Exception\FatalThrowableError]调用未定义的方法闭包::u_set_state()脚本php artisan platform:检查处理返回的安装后cmd事件的环境文件(错误代码为1),尝试此项。请检查环境文件。尝试删除供应商并重新安装composer尝试composer安装,然后在composer转储自动加载之后-o@VaheGalstyan同样的错误对于composer安装,composer中没有任何内容dump@VaheGalstyan错误->>php artisan平台:检查env文件[Symfony\Component\Debug\Exception\FatalThrowableError]调用未定义的方法闭包::\uuu set\u state()脚本php artisan platform:检查处理返回的安装后cmd事件的环境文件(错误代码为1),尝试此项。请检查环境文件。尝试删除供应商并重新安装composer