SELECT * FROM casting WHERE slug <> '' and active = 1 and id_serie = ORDER BY rand() LIMIT 6
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 rand() LIMIT 6' at line 1
Fatal error: Uncaught Error: Call to a member function fetch_assoc() on bool in /var/www/app/shared/classes/sys_mysql.php:228 Stack trace: #0 /var/www/app/addons/series_info/series_info_cache.php(1002): dbw->fetch_assoc(false) #1 /var/www/app/shared/cache/cache.system.php(78): generate_serie_info_cast_person('fear-the-walkin...', 'none') #2 /var/www/app/addons/series_info/series_info.php(30): get_cached_content('serie_info_cast...', 'fear-the-walkin...', 'include_vars') #3 /var/www/app/core/render/render_system.php(205): rndr_serie_info(Array) #4 /var/www/app/index.php(258): execute_template('serie_info_t', Array) #5 {main} thrown in /var/www/app/shared/classes/sys_mysql.php on line 228