Symfony \ Component \ Debug \ Exception \ FatalErrorException Call undefined method Illuminate \ Database \ MySqlConnection :: setReconnector ()
I am building a laravel 4 registration system using "Sentry by Cartalyst". Everything works well in my localhost, But when I upload to my shared hosting. I got the following error.
Symfony \ Component \ Debug \ Exception \ FatalErrorException
Calling undefined method Illuminate \ Database \ MySqlConnection :: setReconnector ()
I see an error in 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 fix this error.
+3
dwididit
source
to share
1 answer
Try to make sure composer has installed and updated the vendor specific files on your shared hosting: run 'composer install' and 'composer update'
+1
Chukky nze
source
to share