A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: core/artists.php

Line Number: 506

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: core/artists.php

Line Number: 506

Database Error

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 available_status DESC' at line 1

SELECT id,thumb_image_name,large_image_name,art_main_id,image_desc,available_status FROM fag_art_selected_works WHERE art_main_id= ORDER BY available_status DESC

Filename: /home/bluebugs1604/forumartgallery.com/models/artists_model.php

Line Number: 410