Tapk Ekologija.lt bendruomenės nariu - Registruokis

SELECT A.* FROM RAD_gallery A LEFT JOIN RAD_gallery_author B ON A.id = B.related1 WHERE A.deleted = 0 AND B.deleted = 0 AND B.related2 = ORDER BY A.uploaded DESC klaida? 1064 - 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.uploaded DESC' at line 8

Fatal error: Call to a member function getRows() on a non-object in /var/www/vhosts/ekologija.lt/httpdocs/site.admin/Smarty/templates_c/%%EF^EF7^EF77D339%%gallery.tpl.php on line 154