Fatal error: Uncaught TypeError: App\Services\ProductParametersService::getBrandLink(): Argument #2 ($subcategoryId) must be of type int, null given, called in D:\inetpub\wwwroot\homethangs\Shop\phpcore\src\Services\ProductParametersService.php on line 20 and defined in D:\inetpub\wwwroot\homethangs\Shop\phpcore\src\Services\ProductParametersService.php:29
Stack trace:
#0 D:\inetpub\wwwroot\homethangs\Shop\phpcore\src\Services\ProductParametersService.php(20): App\Services\ProductParametersService->getBrandLink()
#1 D:\inetpub\wwwroot\homethangs\Shop\phpcore\src\Controllers\ProductController.php(125): App\Services\ProductParametersService->getParameters()
#2 D:\inetpub\wwwroot\homethangs\Shop\phpcore\src\Controllers\ProductController.php(48): App\Controllers\ProductController->prepareProductData()
#3 D:\inetpub\wwwroot\homethangs\Shop\phpcore\src\Core\Router.php(35): App\Controllers\ProductController->show()
#4 D:\inetpub\wwwroot\homethangs\Shop\phpcore\index.php(37): App\Core\Router->dispatch()
#5 {main}
thrown in D:\inetpub\wwwroot\homethangs\Shop\phpcore\src\Services\ProductParametersService.php on line 29