• deremder

    (@deremder)


    If the flickr URL returns an other HTTP code than 200 the object $rss in flickr-me-widget.php on line 129 or 131 is an instance of WP_Error. This causes a fatal error.

    Fatal error: Call to undefined method WP_Error::get_item_quantity() in /var/www/example.com/www/wp-content/plugins/flickr-me/includes/flickr-me-widget.php on line 142

    A way to fix is:

    if ($rss instanceof WP_Error) {
        return;
    }

    Please implement the fix in your next versions.

    https://wordpress.org/plugins/flickr-me/

  • The topic ‘RSS object is not given if flickr request causes an error’ is closed to new replies.