Fatal error: Uncaught mysqli_sql_exception: Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'proteksystem_protekcrm.g.gcID' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by in /home/proteksystem/public_html/zend/library/Zend/Db/Statement/Mysqli.php:70
Stack trace:
#0 /home/proteksystem/public_html/zend/library/Zend/Db/Statement/Mysqli.php(70): mysqli->prepare('SELECT DISTINCT...')
#1 /home/proteksystem/public_html/zend/library/Zend/Db/Statement.php(115): Zend_Db_Statement_Mysqli->_prepare('SELECT DISTINCT...')
#2 /home/proteksystem/public_html/zend/library/Zend/Db/Adapter/Mysqli.php(394): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), 'SELECT DISTINCT...')
#3 /home/proteksystem/public_html/zend/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Adapter_Mysqli->prepare('SELECT DISTINCT...')
#4 /home/proteksystem/public_html/zend/library/Zend/Db/Adapter/Abstract.php(739): Zend_Db_Adapter_Abstract->query('SELECT DISTINCT...', Array)
#5 /home/proteksystem/public_html/includes/classes/Image.inc.php(435): Zend_Db_Adapter_Abstract->fetchAll(Object(Zend_Db_Select))
#6 /home/proteksystem/public_html/gallery.php(16): Image->getGalleryCategories()
#7 {main}
thrown in /home/proteksystem/public_html/zend/library/Zend/Db/Statement/Mysqli.php on line 70