Call to undefined method October\Rain\Foundation\Application::share()
/path/to/octobercms/plugins/qub/clockwork/vendor/itsgoingd/clockwork/Clockwork/Support/Laravel/ClockworkServiceProvider.php line 114
I am new to Laravel, OctoverCMS and this plugin.
However, after some research on this topic it seems that Application::share() was deprecated. Line 114
$this->app['command.clockwork.clean'] = $this->app->singleton('command.clockwork.clean', function ($app){
Unfortunately the error remains, even after clearing the cache manually.
php artisan cache:clear causes his error:
[Symfony\Component\Debug\Exception\FatalThrowableError]
Type error: Argument 2 passed to Clockwork\DataSource\EloquentDataSource::__construct() must be an instance of Illuminate\Events\Dispatcher, instance of October\Rain\Events\Dispatcher given, called in /path/to/october/plugins/qub/clockwork/vendor/itsgoingd/clockwork/Clockwork/Support/Laravel/ClockworkServiceProvider.php on line 63
Call to undefined method October\Rain\Foundation\Application::share() /path/to/octobercms/plugins/qub/clockwork/vendor/itsgoingd/clockwork/Clockwork/Support/Laravel/ClockworkServiceProvider.php line 114
I am new to Laravel, OctoverCMS and this plugin. However, after some research on this topic it seems that
Application::share()
was deprecated. Line 114should bviousely be rewritten as
Unfortunately the error remains, even after clearing the cache manually.
php artisan cache:clear
causes his error:I don't know, what is going on here - sorry.