T
Reported
After press "All categories" in main navigation -> Categories get message:
**500: Server Error Whoops, something went wrong on our servers.**
**500: Server Error Whoops, something went wrong on our servers.**
- MSAnsweredHello,
I will fix it in the next update.
If you need it urgent, please edit `modules/Shop/Routes/web.php` and change line no 29 & 30
from
```
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.php` before last line `}`
```
public function brands()
{
return view('shop::brands');
}
public function categories()
{
return view('shop::categories');
}
```
Thank you - Login to Reply