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 '-30, 30' at line 6

SELECT *, count(gen_poem_id) as poem_count FROM (`user_profiles`, `gen_poem`) WHERE gen_poem.user_id=user_profiles.user_id GROUP BY `gen_poem`.`user_id` ORDER BY `poem_count` DESC LIMIT -30, 30

Filename: /home/banglark/public_html/models/user_model.php

Line Number: 39