Fatal error: Uncaught TypeError: MaestroApi\Products\Model\ProductsModel::GetProductsByCategory(): Argument #1 ($categoryId) must be of type int, null given, called in /home/wequbex/domains/wequbex.com/public_html/mapi/src/Modules/Products/Controller/ProductsController.php on line 30 and defined in /home/wequbex/domains/wequbex.com/public_html/mapi/src/Modules/Products/Model/ProductsModel.php:51
Stack trace:
#0 /home/wequbex/domains/wequbex.com/public_html/mapi/src/Modules/Products/Controller/ProductsController.php(30): MaestroApi\Products\Model\ProductsModel->GetProductsByCategory()
#1 /home/wequbex/domains/wequbex.com/public_html/src/Route/web.php(51): MaestroApi\Products\Controller\ProductsController->GetProductsByCategory()
#2 /home/wequbex/domains/wequbex.com/public_html/index.php(14): require('...')
#3 {main}
thrown in /home/wequbex/domains/wequbex.com/public_html/mapi/src/Modules/Products/Model/ProductsModel.php on line 51