Fix 'observations_by_region_average' PHP