I need help please! wake up this morning find my site shut down: when someone try to login or join this is the error message they will get. I have no clue what went wrong. Anyone that can help please let me know.
Error
Database query error
Query:
SELECT `bx_poll_data`.`id_poll`, `bx_poll_data`.`poll_question`, `bx_poll_data`.`poll_answers`, `bx_poll_data`.`poll_date`, `bx_poll_data`.`id_profile` `Profiles`.`NickName` FROM `bx_poll_data` left JOIN `Profiles` ON `Profiles`.`ID`=`bx_poll_data`.`id_profile` WHERE 1 AND `bx_poll_data`.`poll_status` ='active' AND `bx_poll_data`.`poll_approval` ='1' AND `bx_poll_data`.`allow_view_to` IN('3','4') ORDER BY `poll_date` DESC LIMIT 0, 2
Mysql error:
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 '.`NickName` FROM `bx_poll_data` left JOIN `Profiles` ON `Profiles`.`ID`=`bx_po' at line 1
Found error in the file '/home/branchlo/public_html/inc/classes/BxDolSearch.php' at line