简体   繁体   English

Symfony \\ Component \\ Debug \\ Exception \\ FatalErrorException调用未定义的方法Illuminate \\ Database \\ MySqlConnection :: setReconnector()

[英]Symfony \ Component \ Debug \ Exception \ FatalErrorException Call to undefined method Illuminate\Database\MySqlConnection::setReconnector()

I am creating laravel 4 login system using "Sentry by Cartalyst". 我正在使用“Sentry by Cartalyst”创建laravel 4登录系统。 Everything is running well in my localhost, But, when I upload to my shared hosting. 在我的localhost中一切运行良好,但是,当我上传到我的共享主机时。 I got some following error. 我有一些跟随错误。

Symfony \\ Component \\ Debug \\ Exception \\ FatalErrorException Symfony \\ Component \\ Debug \\ Exception \\ FatalErrorException

Call to undefined method Illuminate\\Database\\MySqlConnection::setReconnector() 调用未定义的方法Illuminate \\ Database \\ MySqlConnection :: setReconnector()

I see an error in bootsrtap/compiled.php 我在bootsrtap / compiled.php中看到一个错误

 $app = $this->app;
$connection->setCacheManager(function () use($app) {
return $app['cache'];
});
$connection->setPaginator(function () use($app) {
return $app['paginator'];
});
$connection->setReconnector(function ($connection) {
$this->reconnect($connection->getName());
});

Please help me to fix this eror. 请帮我解决这个问题。

尝试确保编辑器已安装并更新共享主机上的供应商特定文件:运行'composer install'和'composer update'

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 调用未定义的方法Illuminate \\ Database \\ MySqlConnection :: connect() - Call to undefined method Illuminate\Database\MySqlConnection::connect() Laravel 8 调用未定义的方法 Illuminate\Database\MySqlConnection::tabel() - Laravel 8 Call to undefined method Illuminate\Database\MySqlConnection::tabel() php 工匠优化 NULL.ERROR: Symfony\Component\Debug\Exception\FatalThrowableError: Call to undefined method Illuminate\Foundation\Bootstrap - php artisan optimize NULL.ERROR: Symfony\Component\Debug\Exception\FatalThrowableError: Call to undefined method Illuminate\Foundation\Bootstrap Symfony\Component\Debug\Exception\FatalErrorException laravel 错误 - Symfony\Component\Debug\Exception\FatalErrorException laravel Error 如何在 PHP (Laravel) 中调试“Symfony\\Component\\Debug\\Exception\\FatalErrorException”错误? - How to debug "Symfony\Component\Debug\Exception\FatalErrorException" errors in PHP (Laravel)? 找不到类“角色” [Symfony \\ Component \\ Debug \\ Exception \\ FatalErrorException] - Class 'Role" not found [Symfony\Component\Debug\Exception\FatalErrorException] 在 Laravel 项目中找不到 Symfony\\Component\\Debug\\Exception\\FatalErrorException Trait - Symfony\Component\Debug\Exception\FatalErrorException Trait not found in Laravel project Laravel 未定义属性:Illuminate\Database\MySqlConnection::$name - Laravel Undefined property: Illuminate\Database\MySqlConnection::$name Laravel Tinker错误:Symfony \\ Component \\ Debug \\ Exception \\ FatalThrowableError:调用未定义的方法Psy \\ Configuration :: getLoop() - Laravel Tinker Error: Symfony\Component\Debug\Exception\FatalThrowableError : Call to undefined method Psy\Configuration::getLoop() Facade.php第216行中的FatalErrorException:调用未定义的方法Illuminate \\ Foundation \\ Application :: missing() - FatalErrorException in Facade.php line 216: Call to undefined method Illuminate\Foundation\Application::missing()
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM