Fatal error: Uncaught TypeError: Bigeweb\Inventory\Repositories\Eloquents\ProductManagerRepository::findProductBySlugID(): Argument #2 ($slug) must be of type string, null given, called in /home/jkmprinter/public_html/vendor/bigeweb/inventory/src/Http/Controllers/HomepageProductController.php on line 79 and defined in /home/jkmprinter/public_html/vendor/bigeweb/inventory/src/Repositories/Eloquents/ProductManagerRepository.php:91
Stack trace:
#0 /home/jkmprinter/public_html/vendor/bigeweb/inventory/src/Http/Controllers/HomepageProductController.php(79): Bigeweb\Inventory\Repositories\Eloquents\ProductManagerRepository->findProductBySlugID()
#1 [internal function]: Bigeweb\Inventory\Http\Controllers\HomepageProductController->show()
#2 /home/jkmprinter/public_html/vendor/bigeweb/framework/Routes/Dispatcher.php(191): call_user_func()
#3 /home/jkmprinter/public_html/vendor/bigeweb/framework/Routes/Dispatcher.php(86): illuminate\Support\Routes\Dispatcher->processCallBack()
#4 /home/jkmprinter/public_html/app/Http/Middlewares/SimpleMiddleware.php(12): illuminate\Support\Routes\Dispatcher->illuminate\Support\Routes\{closure}()
#5 /home/jkmprinter/public_html/vendor/bigeweb/framework/Routes/Dispatcher.php(129): Bigeweb\App\Http\Middlewares\SimpleMiddleware->handle()
#6 /home/jkmprinter/public_html/app/Http/Middlewares/SimpleMiddleware.php(12): illuminate\Support\Routes\Dispatcher->illuminate\Support\Routes\{closure}()
#7 /home/jkmprinter/public_html/vendor/bigeweb/framework/Routes/Dispatcher.php(156): Bigeweb\App\Http\Middlewares\SimpleMiddleware->handle()
#8 /home/jkmprinter/public_html/vendor/bigeweb/framework/Loader.php(39): illuminate\Support\Routes\Dispatcher->dispatch()
#9 /home/jkmprinter/public_html/public/index.php(12): illuminate\Support\Loader->__construct()
#10 {main}
thrown in /home/jkmprinter/public_html/vendor/bigeweb/inventory/src/Repositories/Eloquents/ProductManagerRepository.php on line 91