A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/artists.php

Line Number: 64

Database Error

Ein Datenbankfehler ist aufgetreten

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and artwork.t_visible = '1' order by artist_artwork.n_order desc' at line 1

select artwork.* from artwork, artist_artwork where artwork.id_artwork = artist_artwork.id_artwork and artist_artwork.id_artist = and artwork.t_visible = '1' order by artist_artwork.n_order desc