Error: SELECT count(*) as total,default_url FROM content WHERE custom_url="" and is_active="1" LIMIT 1

In aggregated query without GROUP BY, expression #2 of SELECT list contains nonaggregated column 'albparam_site.content.default_url'; this is incompatible with sql_mode=only_full_group_by