Call to undefined method Illuminate\Foundation\Application::resolved() in /var/www/booking/vendor/jenssegers/rollbar/src/RollbarServiceProvider.php on line 34
I've not tried Laravel 5 so not sure what the best fix is, but changing the code from this:
// Flush callback
$flush = function() use ($app)
{
if ($app->resolved('rollbar.client'))
{
$app['rollbar.client']->flush();
}
};
To this:
// Flush callback
$flush = function() use ($app)
{
if ($app->app['rollbar.client'])
{
$app['rollbar.client']->flush();
}
};
Call to undefined method Illuminate\Foundation\Application::resolved() in /var/www/booking/vendor/jenssegers/rollbar/src/RollbarServiceProvider.php on line 34
I've not tried Laravel 5 so not sure what the best fix is, but changing the code from this:
To this:
Worked for me