Fatal error: Uncaught mysqli_sql_exception: 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 'and visibilidad=1
order by weight desc limit 0,100' at line 2 in /home1/ardyssss/public_html/work/library/mysql.php:128
Stack trace:
#0 /home1/ardyssss/public_html/work/library/mysql.php(128): mysqli_query(Object(mysqli), 'select name,vid...')
#1 /home1/ardyssss/public_html/work/core/models/Videos.php(104): select('name,video,id', 'galleries_video...', 'where id_grupo=...', '0')
#2 /home1/ardyssss/public_html/work/core/controllers/Videos.php(38): core\models\Videos->getItem()
#3 /home1/ardyssss/public_html/ardyss/app/controllers/Videos.php(32): core\controllers\Videos->detail()
#4 /home1/ardyssss/public_html/work/core/Routes.php(261): controllers\Videos->detail(Array)
#5 /home1/ardyssss/public_html/ardyss/index.php(60): core\Routes->response()
#6 /home1/ardyssss/public_html/index.php(1): include('/home1/ardyssss...')
#7 {main}
thrown in /home1/ardyssss/public_html/work/library/mysql.php on line 128