Men

ADOConnection._Execute(select * from Artists_Portfolio WHERE artist_id=, false) % line 1011, file: adodb.inc.php                             ADOConnection.Execute(select * from Artists_Portfolio WHERE artist_id=, false) % line 1590, file: adodb.inc.php                           ADOConnection.GetRow(select * from Artists_Portfolio WHERE artist_id=, false) % line 468, file: adodb-active-record.inc.php                         ADODB_Active_Record.Load(artist_id=) % line 32, file: Artist.php                       Artist.getPortfolio() % line 218, file: Artist.php 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 polaroid = 0 ORDER BY `order`, id' at line 1
                                       ADOConnection._Execute(select id, image from Artists_Additional_Images where artist_id =  AND polaroid = 0 ORDER BY `order`, id , false) % line 1011, file: adodb.inc.php
                                    ADOConnection.Execute(select id, image from Artists_Additional_Images where artist_id =  AND polaroid = 0 ORDER BY `order`, id ) % line  325, file: Portfolio.php
                                 Portfolio.getAdditionalImageArray() % line  219, file: Artist.php
                              Artist.getMainImage() % line   42, file: view.phtml
                           include(/var/www/html/amckmodels/application/modules/default/views/scripts/models/view.phtml) % line  107, file: View.php
Notice: Trying to get property of non-object in /var/www/html/amckmodels/application/models/Portfolio.php on line 327 Notice: Trying to get property of non-object in /var/www/html/amckmodels/application/models/Portfolio.php on line 329 Notice: Trying to get property of non-object in /var/www/html/amckmodels/application/models/Portfolio.php on line 329 Fatal error: Call to a member function MoveNext() on a non-object in /var/www/html/amckmodels/application/models/Portfolio.php on line 330