Warning: implode(): Invalid arguments passed in /var/www/www-root/data/www/ on line 296

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1064 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 ') AND manufac.local=6099 ORDER BY manufac.short_name DESC' at line 1' in /var/www/www-root/data/www/ Stack trace: #0 /var/www/www-root/data/www/ PDO->query('SELECT * FROM `...') #1 /var/www/www-root/data/www/ models->category_vivod(Array) #2 /var/www/www-root/data/www/ require('/var/www/www-ro...') #3 /var/www/www-root/data/www/ require_once('/var/www/www-ro...') #4 {main} thrown in /var/www/www-root/data/www/ on line 296