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 'ORDER BY gallery_album_link_seed' at line 1

SELECT gallery_album_short_name, gallery_album_long_name FROM gallery_albums WHERE gallery_album_parent_category = ORDER BY gallery_album_link_seed

Filename: /var/www/html/models/gallery_model.php

Line Number: 189