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 ( 11901,11902,11903,11904,11905,11906,11908,11913,11915,11916,11919,11923,11928,11929,11936,11938,11939,11940,11941,11942,11945,11949,11950,11951,11954,11955,11959,11963,11966,11967,11973,11976,11977,11978,11980,11982,11987,11989,11990,11991,11992,11993,11994,11995,11996,11999,12000,12002,12003,12006,12007,12008,12011,12012,12013,12016,12020,12021,12024,12025,12026,12027,12028,12029,12030,12031,12032,12033,12034,12036,12038,12039,12040 ) 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