|
![]() |
![]() |
|
Notice: Trying to get property of non-object in /var/www/html/www/pages/artist.php on line 77 |
Notice: Trying to get property of non-object in /var/www/html/www/includes/database.php on line 1964
Notice: Trying to get property of non-object in /var/www/html/www/includes/producthover.php on line 131
Notice: Trying to get property of non-object in /var/www/html/www/includes/database.php on line 546
Fatal error: Uncaught exception 'Exception' with message 'Error executing query: 'SELECT COUNT(*) from artworks where artwork_type <> 'ArtistLetter' and artwork_type <> 'Signature' and artwork_type <> 'Photograph' and artwork_type <> 'ArtistPortrait' and artist_id = ' : 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 '' at line 1' in /var/www/html/www/includes/models/activerecord/db_adapters/MySQL.php:17
Stack trace:
#0 [internal function]: MySQLAdapter::query('SELECT COUNT(*)...', Resource id #82)
#1 /var/www/html/www/includes/models/activerecord/ActiveRecord.php(163): call_user_func_array(Array, Array)
#2 /var/www/html/www/includes/database.php(546): ActiveRecord::query('SELECT COUNT(*)...')
#3 /var/www/html/www/pages/artist.php(433): CountArtworks(Array)
#4 {main}
thrown in /var/www/html/www/includes/models/activerecord/db_adapters/MySQL.php on line 17