What seems to be the problem: Getting sometimes Error 500 on loading a page (Mostly on first load)
Steps to Reproduce:
Are you using the latest version of Livewire: yes
Do you have any screenshots or code examples:
Installed livewire on a existing project (Laravel 8.7.1) had created 2 routes one to. a table view and a second to the form view.
// Livewire Routes
//invoke is needed to pypass stand. path setting to controllers
Route::get(’/marketing/reviews/product-reviews/{idShop}’, [\App\Http\Livewire\Admin\Marketing\Reviews\ProductReviewList::class, ‘__invoke’])->name(‘product-review-list’);
Route::get('/marketing/reviews/product-review/{idShop}/{id}', [\App\Http\Livewire\Admin\Marketing\Reviews\ProductReviewForm::class, '__invoke'])->name('product-review-form');
On local machine everuthing is running well without any problem. after git it to my server.
Route To tabel works always. But route to form view gives unregulary a error 500 on loading livewirejs ?
/vendor/livewire/livewire.js?id=a4a06c089f1a93dbe075:13 GET http://cool-zawadi.com/marketing/reviews/product-review/2/343 500 (Internal Server Error). /vendor/livewire/livewire.js?id=a4a06c089f1a93dbe075:13
Mostly when i go a second time to the same route it works ???
Some body any idea ??