Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'europart_db1.w_brands.BRA_ID' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by SELECT w_brands.* FROM w_brands WHERE (BRA_ACTIVE = '1') GROUP BY BRA_BRAND ORDER BY BRA_BRAND LIMIT 0, 20

1.
Db -> post ( SELECT w_brands.* FROM w_brands WHERE (BRA_ACTIVE = '1') GROUP BY BRA_BRAND ORDER BY BRA_BRAND LIMIT 0, 20 , )
/var/www/html/core/classes/db.class.php (Line: 150)

2.
Db -> query ( SELECT w_brands.* FROM w_brands WHERE (BRA_ACTIVE = '1') GROUP BY BRA_BRAND ORDER BY BRA_BRAND LIMIT 0, 20 )
/var/www/html/core/classes/orm.class.php (Line: 45)

3.
Orm -> fetchAll ( )
/var/www/html/core/classes/orm_condition.class.php (Line: 223)

4.

Notice: Array to string conversion in /var/www/html/application/config/init.php on line 32
OrmCondition -> __call ( fetchAll, Array )
/var/www/html/application/controllers/brand.php (Line: 42)

5.
BrandController -> index ( )
/var/www/html/core/classes/dispatcher.class.php (Line: 37)

6.
Dispatcher -> process ( )
/var/www/html/index.php (Line: 23)