Suppress PHP warnings because of variable which is not an array