SELECT * FROM blog__articles WHERE actif=1 AND visible=1 AND langue = "fr" AND liste_categories != "" AND liste_categories LIKE "%;76;%" ORDER BY ordre ASC, id DESC LIMIT , 24

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' 24' at line 6