Fatal error: Uncaught Exception: Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ORDER BY RAND()' at line 2<br />Error No: 1064<br />
SELECT product_id FROM ocjb_product WHERE status = '1' AND
product_id != '20506' LIMIT 0, 5 ORDER BY RAND() in /home/bzkidost/storage_ocart3/modification/system/library/db/mysqli.php:41
Stack trace:
#0 /home/bzkidost/storage_ocart3/modification/system/library/db.php(66): DB\MySQLi->query('\n\t\t\t\tSELECT pro...')
#1 /home/bzkidost/storage_ocart3/modification/catalog/model/journal3/product.php(386): DB->query('\n\t\t\t\tSELECT pro...')
#2 /home/bzkidost/storage_ocart3/modification/catalog/model/journal3/product.php(221): ModelJournal3Product->getProductRelatedByNothing(20506, 5)
#3 /home/bzkidost/storage_ocart3/modification/system/engine/loader.php(267): ModelJournal3Product->getRelatedProducts(20506, 6)
#4 /home/bzkidost/public_html/ocart3/system/engine/proxy.php(47): Loader->{closure} in /home/bzkidost/storage_ocart3/modification/system/library/db/mysqli.php on line 41