SQL error after upgrade
So, I am now getting this error after upgrading to the latest PP.
An error was encountered during execution of the query:
SELECT id,user,userid,cat,storecat,date,title,description,ismature,keywords,bigimage,width,height,filesize,views,medwidth,medheight,medsize,approved,rating,votes,allowprint,numcom,lastposter FROM photos WHERE userid= AND storecat=0 ORDER BY disporder,date DESC
The query returned with an errorcode of:
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 'AND storecat=0 ORDER BY disporder,date DESC' at line 1