Fatal error: Uncaught TypeError: Argument 1 passed to frontend\classes\Cart::addItem() must be an instance of frontend\classes\CartItem, null given, called in /home/udensfiltri/public_html/frontend/library/Extensions/class.CartExtension.php on line 191 and defined in /home/udensfiltri/public_html/frontend/classes/Cart.php:24
Stack trace:
#0 /home/udensfiltri/public_html/frontend/library/Extensions/class.CartExtension.php(191): frontend\classes\Cart->addItem(NULL)
#1 /home/udensfiltri/public_html/frontend/controllers/CartController.php(300): Extensions\CartExtension->addItem(Array, 1)
#2 [internal function]: frontend\controllers\CartController->actionAdd(Object(Constructor\WebRequest), 4132, 'en')
#3 /home/udensfiltri/public_html/vendor/php-di/invoker/src/Invoker.php(82): call_user_func_array(Array, Array)
#4 /home/udensfiltri/public_html/vendor/php-di/php-di/src/Container.php(276): Invoker\Invoker->call(Array, Array)
#5 /home/udensfiltri/public_html/constructor/Controller.php(97): DI\Container->call(Array, Array)
#6 /home in /home/udensfiltri/public_html/frontend/classes/Cart.php on line 24