Error Number: 1064
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 'AND `status` = 1 ORDER BY rand() LIMIT 3' at line 6
SELECT * FROM (`dbc_posts`) WHERE `purpose` IS NULL OR `type` IS NULL AND `id` != AND `status` = 1 ORDER BY rand() LIMIT 3
Filename: /home/u642975781/domains/codesix.com.br/public_html/imoby/modules/show/models/show_model_core.php
Line Number: 1296