Fixed WP_ERROR message when raw_response isn't array