class.mysql.php : 2006 - MySQL server has gone away - SELECT city, city_rw, COUNT(city) AS counter, ogl.state AS ogl_state, locations.parent AS locations_state FROM og202512_announcement AS ogl LEFT JOIN og202512_announcement_payments as pay ON ogl.ident=pay.pay_ident AND pay.pay_type='VIEW' LEFT JOIN og202512_locations AS locations ON locations.name = ogl.city WHERE ogl.city NOT LIKE '%,%' AND ogl.city <> '' AND ogl.city <> 'cała Polska' AND (pay.pay_expire>='2026-08-26' OR ogl.forever = 'TRUE') AND ogl.display = 'TRUE' AND ogl.status='ACCEPT' GROUP BY ogl.city, ogl.city_rw, ogl.state ORDER BY counter DESC LIMIT 0,200