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 'ORDER BY rand() LIMIT 4' at line 4

SELECT * FROM (`objects`) WHERE `id` != ORDER BY rand() LIMIT 4

Filename: /home/client/web/polisfera.com.ua/public_html/libraries/dbmodel.php

Line Number: 242