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
source to share