Fatal error: Uncaught TypeError: App\Entity\Product::findBySlug(): Return value must be of type App\Entity\Product, null returned in /var/www/vhosts/trillium-product-viewer.v-ex.dev/trillium-product-viewer.v-ex.dev/v0.0.0/src/Entity/Product.php:191
Stack trace:
#0 /var/www/vhosts/trillium-product-viewer.v-ex.dev/trillium-product-viewer.v-ex.dev/v0.0.0/src/Controller/ProductsController.php(206): App\Entity\Product::findBySlug()
#1 /var/www/vhosts/trillium-product-viewer.v-ex.dev/trillium-product-viewer.v-ex.dev/v0.0.0/init.php(79): App\Controller\ProductsController->viewBySlug()
#2 /var/www/vhosts/trillium-product-viewer.v-ex.dev/trillium-product-viewer.v-ex.dev/v0.0.0/public/index.php(2): require('...')
#3 {main}
thrown in /var/www/vhosts/trillium-product-viewer.v-ex.dev/trillium-product-viewer.v-ex.dev/v0.0.0/src/Entity/Product.php on line 191