Scrutinizer is saying: "The expression $all_regions_data of type object<WPSC_Data_Map> is not traversable."

Let me know if that's a false positive.