Strict Standards: Only variables should be passed by reference in /var/www/newistoria/data/www/2mir-istorii.ru/engine/modules/catalog/functions.php on line 123 SELECT p.id, p.autor, p.date, p.short_story, CHAR_LENGTH(p.full_story) as full_story, p.xfields, p.title, p.category, p.alt_name, p.comm_num, p.allow_comm, p.fixed, p.tags, e.news_read, e.allow_rate, e.rating, e.vote_num, e.votes, e.view_edit, e.editdate, e.editor, e.reason, ( ( rating1+rating2+rating3+rating ) / 4 ) as ball_all FROM dle_post p LEFT JOIN dle_post_extras e ON (p.id=e.news_id) WHERE approve=1 and p.`id` in ( 4742,4772,4778,4786,4832,4834,4840,4847,4851,4859,4872,4875,4878,4880,4885,4889 ) ORDER BY ball_all DESC LIMIT ,10 MySQL Fatal Error MySQL Error!
------------------------

The Error returned was:
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 '10' at line 1

Error Number:
1064