MySQL Error!
MySQL error in file: /engine/photo/photo_nucleus/functions/colors.php at line 62
Error Number: 1064
The Error returned was:
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 1
SQL query:

SELECT DISTINCTROW SQL_CALC_FOUND_ROWS p.* FROM dle_photo_post AS p LEFT JOIN dle_photo_alboms AS a ON p.albom = WHERE LEAST(g,b)/GREATEST(g,b)>0.5 and r/LEAST(g,b)<0.85 and g>r and b>r and b>50 and g>50 and ( = 0 or < 1545070259) and (p.hide = 0 and p.moder = 0) LIMIT 0,