Fatal error: Uncaught ErrorException: count(): Parameter must be an array or an object that implements Countable in /home/nadorus/public_html/project/controller/CartController.php:43 Stack trace: #0 [internal function]: exception_error_handler(2, 'count(): Parame...', '/home/nadorus/p...', 43, Array) #1 /home/nadorus/public_html/project/controller/CartController.php(43): count(NULL) #2 /home/nadorus/public_html/Vnw/Controller/AbstractController.php(27): project\controller\CartController->Action() #3 /home/nadorus/public_html/project/controller/CartController.php(25): Vnw\Controller\AbstractController->__construct() #4 /home/nadorus/public_html/public/index.php(52): project\controller\CartController->__construct() #5 {main} thrown in /home/nadorus/public_html/project/controller/CartController.php on line 43