SimpleSmarty: Declaration of DbSimple_Mysql::_performEscape() should be compatible with that of DbSimple_Generic_Database::_performEscape() in /home/satelit/www/retrus.ru/lib/DbSimple/Mysql.php on line 190

SimpleSmarty: Declaration of DbSimple_Mysql::_performNewBlob() should be compatible with that of DbSimple_Generic_Database::_performNewBlob() in /home/satelit/www/retrus.ru/lib/DbSimple/Mysql.php on line 190
SQL Error: 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 ')' at line 1 at unknown
Array
(
    [code] => 1064
    [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 ')' at line 1
    [query] => SELECT picture_name, picture_http, picture_tovar_id FROM magaz_picture WHERE picture_tovar_id IN ()
    [context] => unknown
)