[X] DB:

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 `parent`=6 order by `order` desc limit 1' at line 1

SELECT `id`,`title`,`order` FROM `mp_catalog_items` WHERE `order`< and `parent`=6 order by `order` desc limit 1

/home/u10292/master-elec.ru/www/CORE/classes/db.php