select o.*, u.email 
        from objects as o 
        left join users as u on u.id = o.partner_id
        left join objects_lunch as l on l.object_id = o.id and l.active = '1'  
        left join objects_deliveries as d on d.object_id = o.id and d.active = '1'
        left join objects_categories as c on c.object_id = o.id 
        where o.active='1' and o.deleted = '0' and o.lng is not null and o.lat is not null 
        group by o.id
        order by o.views desc 

                ERROR: Got error 28 from storage engine