Notice: Trying to get property of non-object in /home/odrollr1/public_html/php/controllers/smartframe.php on line 15

Fatal error: Uncaught exception 'PDOException' with message 'You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 't1.id_familias)>0 AND t1.eliminado = 'no' AND t1.publicado = 'si' AND t2.idioma ' at line 4' in /home/odrollr1/public_html/php/class/core/db.php:36 Stack trace: #0 /home/odrollr1/public_html/php/models/smartframe_model.php(100): Db->query('SELECT t1.id,t1...') #1 /home/odrollr1/public_html/php/models/smartframe_model.php(109): Smartframe_model->getBloquesList(Array) #2 /home/odrollr1/public_html/php/controllers/smartframe.php(16): Smartframe_model->getBloquesByFamilia(NULL, Array) #3 /home/odrollr1/public_html/php/init.php(116): Smartframe->index(Array) #4 {main} thrown in /home/odrollr1/public_html/php/class/core/db.php on line 36