Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /var/www/html/shop.winfakt.be.prod/app/controller/frontend/PriceController.php:295
Stack trace:
#0 /var/www/html/shop.winfakt.be.prod/app/controller/frontend/PriceController.php(295): count()
#1 /var/www/html/shop.winfakt.be.prod/app/controller/frontend/PriceController.php(126): controller\frontend\PriceController::berekenSoldenPrijs()
#2 /var/www/html/shop.winfakt.be.prod/app/controller/frontend/ProductsController.php(235): controller\frontend\PriceController->calculate()
#3 /var/www/html/shop.winfakt.be.prod/app/controller/frontend/ProductsController.php(85): controller\frontend\ProductsController::getWalk()
#4 /var/www/html/shop.winfakt.be.prod/app/controller/frontend/CategoryController.php(35): controller\frontend\ProductsController->get()
#5 /var/www/html/shop.winfakt.be.prod/src/wfShop/Route.php(192): controller\frontend\CategoryController->index()
#6 /var/www/html/shop.winfakt.be.prod/src/wfShop/Route.php(93): wfShop\Route::setController()
#7 /var/www/html/shop.winfakt.be.prod/src/wfShop/Route.php(26): wfShop\Route->route()
#8 /var/www/html/shop.winfakt.be.prod/src/wfShop/Route.php(32): wfShop\Route->__construct()
#9 /var/www/html/shop.winfakt.be.prod/app/app.php(71): wfShop\Route::init()
#10 /var/www/html/shop.winfakt.be.prod/index.php(19): App::init()
#11 {main}
thrown in /var/www/html/shop.winfakt.be.prod/app/controller/frontend/PriceController.php on line 295