Fatal error: Uncaught ErrorException: Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ASC ORDER BY total DESC LIMIT 40' at line 10<br />Error No: 1064<br />SELECT m.manufacturer_id, COUNT(*) as total FROM oc_manufacturer m LEFT JOIN oc_product p ON (m.manufacturer_id=p.manufacturer_id) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) WHERE p.status='1' AND p.date_available <= NOW() AND p2s.store_id = '0' GROUP BY m.name ASC ORDER BY total DESC LIMIT 40 in /home/customer/www/cbdstoresupplies.com/public_html/system/database/mysqli.php:41 Stack trace: #0 /home/customer/www/cbdstoresupplies.com/public_html/vqmod/vqcache/vq2-system_library_db.php(32): DBMySQLi->query('SELECT m.manufa...') #1 /home/customer/www/cbdstoresupplies.com/public_html/vqmod/vqcache/vq2-catalog_ in /home/customer/www/cbdstoresupplies.com/public_html/system/database/mysqli.php on line 41