Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/coopmercat.coop/httpdocs/botiga/modules/blockcart/blockcart.php on line 150

Fatal error: Uncaught Error: Call to undefined function mcrypt_encrypt() in /var/www/vhosts/coopmercat.coop/httpdocs/botiga/classes/Rijndael.php:50 Stack trace: #0 /var/www/vhosts/coopmercat.coop/httpdocs/botiga/classes/Cookie.php(319): RijndaelCore->encrypt('date_add|2020-0...') #1 /var/www/vhosts/coopmercat.coop/httpdocs/botiga/classes/Cookie.php(357): CookieCore->_setcookie('date_add|2020-0...') #2 /var/www/vhosts/coopmercat.coop/httpdocs/botiga/classes/controller/Controller.php(397): CookieCore->write() #3 /var/www/vhosts/coopmercat.coop/httpdocs/botiga/classes/controller/FrontController.php(563): ControllerCore->smartyOutputContent('/var/www/vhosts...') #4 /var/www/vhosts/coopmercat.coop/httpdocs/botiga/classes/controller/Controller.php(198): FrontControllerCore->display() #5 /var/www/vhosts/coopmercat.coop/httpdocs/botiga/classes/Dispatcher.php(373): ControllerCore->run() #6 /var/www/vhosts/coopmercat.coop/httpdocs/botiga/index.php(42): DispatcherCore->dispatch() #7 {main} thrown in /var/www/vhosts/coopmercat.coop/httpdocs/botiga/classes/Rijndael.php on line 50