Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/alex/data/www/rudojki.net/admincp/classes/entity.php on line 307
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 ') OR category2 IN () OR category3 IN ())) ORDER BY RAND() LIMIT 0,15' at line 1
SELECT * FROM `_video` WHERE (status = 1 AND id != '55954' AND id > 55811 AND (category IN () OR category2 IN () OR category3 IN ())) ORDER BY RAND() LIMIT 0,15
Fatal error: Uncaught Error: Call to undefined function mysql_error() in /var/www/alex/data/www/rudojki.net/include/utils.php:627
Stack trace:
#0 /var/www/alex/data/www/rudojki.net/include/db.php(49): db_error('SELECT * FROM `...')
#1 /var/www/alex/data/www/rudojki.net/include/db.php(33): query_important('SELECT * FROM `...')
#2 /var/www/alex/data/www/rudojki.net/admincp/classes/entity.php(166): query('SELECT * FROM `...')
#3 /var/www/alex/data/www/rudojki.net/module/video.php(103): Entity->GetManyByCond('status = 1 AND ...', 'RAND()', 1, 15)
#4 /var/www/alex/data/www/rudojki.net/index.php(191): include('/var/www/alex/d...')
#5 {main}
thrown in /var/www/alex/data/www/rudojki.net/include/utils.php on line 627