Cannot Use String Offset As An Array Php Push Notification