Notice: Undefined index: parent in /var/www/ on line 14Notice: Undefined index: storelist_id in /var/www/ on line 49
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 'order by i.sort_order' at line 1<br />Error No: 1064<br />SELECT DISTINCT * FROM oc_storelist i LEFT JOIN oc_storelist_store id ON (i.storelist_id = id.storelist_id) where id.language_id = 1 and i.storelist_id = order by i.sort_order' in /var/www/ Stack trace: #0 /var/www/ DBMySQLi->query('SELECT DISTINCT...') #1 /var/www/ DB->query('SELECT DISTINCT...') #2 /var/www/ ModelStorelist->getStore('Diamond Hill (P...') #3 [internal function]: ControllerStorelist->index() #4 /var/www/ in /var/www/ on line 41