T
Reported
After press “All categories” in main navigation -> Categories get message: 500: Server Error Whoops, something went wrong on our servers.
- MSAnswered
Hello,
I will fix it in the next update.
If you need it urgent, please edit
modules/Shop/Routes/web.phpand change line no 29 & 30from
Route::view('/brands', 'shop::brands')->name('shop.brands'); Route::view('/categories', 'shop::categories')->name('shop.categories');to
Route::get('/brands', [Controllers\ShopController::class, 'brands'])->name('shop.brands'); Route::get('/categories', [Controllers\ShopController::class, 'categories'])->name('shop.categories');Then add theses code to
modules/Shop/Http/Controllers/ShopController.phpbefore last line}public function brands() { return view('shop::brands'); } public function categories() { return view('shop::categories'); }Thank you
- Login to Reply