MySQL Error!
MySQL error in file: /engine/photo/photo_nucleus/functions/photos.php at line 122
Error Number: 1139
The Error returned was:
Got error 'parentheses not balanced' from regexp
SQL query:

SELECT DISTINCTROW SQL_CALC_FOUND_ROWS * FROM kp50_photo_post WHERE tegs REGEXP BINARY '(,|^)переданных от сельских поселений (состояние(,|$)' and ((kp50_photo_post.show = 0 or kp50_photo_post.show < 1731690895) and (kp50_photo_post.hide = 0 and kp50_photo_post.moder = 0)) ORDER BY date ASC LIMIT 0,12