Closed abanghendri closed 2 years ago
It looks like the package is not correctly autoloaded by your composer. Try running composer dump-autoload
FWIW, I had the same issue with an optimised autoloader, and I eventually just added the routes manually. Sharing here in case anyone finds it useful.
Route::prefix('jobs')->group(function () {
Route::get('', '\romanzipp\QueueMonitor\Controllers\ShowQueueMonitorController')->name('queue-monitor::index');
Route::delete('monitors/{monitor}', '\romanzipp\QueueMonitor\Controllers\DeleteMonitorController')->name('queue-monitor::destroy');
Route::delete('purge', '\romanzipp\QueueMonitor\Controllers\PurgeMonitorsController')->name('queue-monitor::purge');
});
Hello, I'm using default example of this package like this
it's work on local but when I upload to live server, it produce error like this
Attribute [queueMonitor] does not exist. {"exception":"[object] (InvalidArgumentException(code: 0): Attribute [queueMonitor] does not exist. at /home/k3508610/public_html/vendor/laravel/framework/src/Illuminate/Routing/RouteRegistrar.php:105)
and this is the error stack
I try to use another method:
But now, I get another error
and this is the error stack
please help me