memi

memi

I already got a few of these error messages "vimeo-php-lib/vimeo.php, LINE 235: Trying to get property of non-object" and finally started inspecting the code in the mentioned php file, so I added these few lines after line 233:

if (!empty($response)) {
$response = unserialize($response);
} else {
throw new VimeoAPIException('Empty response.');
}

Now it should also throw an error in case there is no response, so using it with try & catch should not fatally fail the code.

This conversation is missing your voice. Please join Vimeo or log in.