A Database Error Occurred

Error Number: 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 '-diamond-row-checks' at line 7

SELECT * FROM (`gc_products`) RIGHT JOIN `gc_category_products` ON `gc_category_products`.`product_id`=`gc_products`.`id` WHERE `category_id` = '48' AND `enabled` = 1 ORDER BY `sequence` DESC LIMIT 400 OFFSET 15-diamond-row-checks

Filename: /home/checkadv/public_html/models/product_model.php

Line Number: 408