Fixed problem with Warning: array_key_exists() expects parameter 2 to be array