2xxxselect id, id_dentista, _piano, a.registered, (select concat(d.titolo, ' ', d.nome, ' ', d.cognome) from wee_dentisti d where d.id = a.id_dentista) as nome, _seo, citta, spec1, spec2, spec3, concat( indirizzo, ' ', civico, ' ', cap, '
', case when citta=1 then 'ROMA' else 'xxxxx' end, ' ', upper(provincia)) as indirizzo, case when citta=1 then 'ROMA' else (select nome from wee_citta k where k.id = a.citta) end as city, lat, lon, '1' as visibile,( select _n_testimonianze + _sum_testimonianze * 10000 from wee_dentisti b where b.id = id_dentista) as newrating, cap from wee_dentisti_studi a where a._deleted='0' and a.attivo!='0' and a.attivo!='3' and (a.lat >= -0.072819 + 45.0333391000 and a.lat <= 0.072819+ 45.0333391000) and (a.lon >= -0.097956 + 6.8336307000 and a.lon <= 0.097956+ 6.8336307000) order by _rating desc
Fatal error: Uncaught TypeError: count(): Argument #1 ($var) must be of type Countable|array, null given in /var/www/vhosts/dentistaforyou.it/httpdocs/regione/citta.php:558
Stack trace:
#0 {main}
thrown in /var/www/vhosts/dentistaforyou.it/httpdocs/regione/citta.php on line 558