Notice: Undefined index: in /home/cuadrosc/public_html/classes/PrestaShopCollection.php on line 724

Fatal error: Uncaught 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 '= 1)' at line 3<br /><br /><pre>SELECT * FROM `ps_shop_url` a1 WHERE (.`main` = 1) </pre> thrown in /home/cuadrosc/public_html/classes/db/Db.php on line 791