Fatal error: Uncaught exception 'ErrorException' with message '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 '' at line 1<br />Error No: 1064<br />SELECT DISTINCT p.country_id, c.name FROM property_new p LEFT JOIN country c ON p.country_id = c.country_id WHERE user_id = ' in /home/realopedia/public_html/system/database/mysqli.php:40
Stack trace:
#0 /home/realopedia/public_html/system/library/db.php(20): DBMySQLi->query('SELECT DISTINCT...')
#1 /home/realopedia/public_html/catalog/model/common/rightside.php(40): DB->query('SELECT DISTINCT...')
#2 /home/realopedia/public_html/catalog/controller/commonfile/rightside_filter.php(21): ModelCommonRightside->get_user_countries(NULL, 0)
#3 /home/realopedia/public_html/system/engine/controller.php(43): ControllerCommonfileRightsideFilter->index(Array)
#4 /home/realopedia/public_html/system/engine/controller.php(74): Controller->getChild('commonfile/righ...')
#5 /home/realopedia/public_htm in /home/realopedia/public_html/system/database/mysqli.php on line 40