[英]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.