Fatal error: Uncaught TypeError: Argument 1 passed to classes\Cart::addItem() must be an instance of classes\CartItem, null given, called in /home/aktivcentr/public_html/cms/library/Extensions/class.CartExtension.php on line 174 and defined in /home/aktivcentr/public_html/cms/classes/Cart.php:24 Stack trace: #0 /home/aktivcentr/public_html/cms/library/Extensions/class.CartExtension.php(174): classes\Cart->addItem(NULL) #1 /home/aktivcentr/public_html/cms/controllers/class.CartController.php(348): Extensions\CartExtension->addItem(Array, 1) #2 [internal function]: controllers\CartController->actionAdd() #3 /home/aktivcentr/public_html/cms/library/Constructor/Controller.php(63): call_user_func_array(Array, Array) #4 /home/aktivcentr/public_html/cms/library/Constructor/WebAction.php(33): Constructor\Controller->callAction('actionAdd', Array) #5 /home/aktivcentr/public_html/cms/library/Constructor/WebApp.php(54): Constructor\WebAction->process() #6 /home/aktivcentr/public_html/cms/index.php(18): Constructor\WebApp->run() #7 { in /home/aktivcentr/public_html/cms/classes/Cart.php on line 24