WordPress database 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 '30' at line 5]SELECT * FROM
wp_testimonial_slider a LEFT OUTER JOIN wp_posts b
ON a.post_id = b.ID
WHERE ( b.post_status = 'publish' AND b.post_type='testimonial' ) AND a.slider_id = 2
ORDER BY RAND() LIMIT 0 30