Warning: count(): Parameter must be an array or an object that implements Countable in /home/forma/roustchouk.bg/includes/first.php on line 90
Fatal error: Uncaught Error: Call to a member function fetch_assoc() on boolean in /home/forma/roustchouk.bg/includes/classes/Images.php:63
Stack trace:
#0 /home/forma/roustchouk.bg/includes/classes/Category.php(68): Images->getMainImage('categories', NULL)
#1 /home/forma/roustchouk.bg/includes/classes/Prices.php(341): Category->getCategory(NULL)
#2 /home/forma/roustchouk.bg/includes/classes/Prices.php(20): Prices->_checkPromoCategory(NULL)
#3 /home/forma/roustchouk.bg/includes/classes/Products.php(53): Prices->getPrice('1', NULL, NULL)
#4 /home/forma/roustchouk.bg/product.php(5): Products->getProduct('1')
#5 {main}
thrown in /home/forma/roustchouk.bg/includes/classes/Images.php on line 63