SQL Query error when displaying article list

by Han Koster   Last Updated December 12, 2017 00:10 AM

I am running a number of sites on the same server. All are updated to Joomla 3.8.2 Suddenly some of them but not all have the following problem.

When I list the articles I get a list of the first 20 articles. URL: http://DOMAIN/administrator/index.php?option=com_content

After clicking the next button I get an error 500:

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 '' at line 9

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 'ORDER BY a.id desc LIMIT 20' at line 11

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 '' at line 9

From here I can only go back to the control panel. From now on the article list immediately gives the error 500

After logging out and in I get the list of the first 20 items again. What could be wrong here and how do I solve this?

Tags : articles


Related Questions



Cannot find featured articles on Joomla Backend

Updated February 22, 2017 02:10 AM



Order Broken on Feature Article page

Updated March 15, 2017 14:10 PM