Pinterest RSS Widget
Possible fix for - PHP Fatal error: Call to undefined method WP_Erro (4 posts)

  1. aarcos
    Posted 3 years ago #

    Im getting this error too often in my error log

    PHP Fatal error: Call to undefined method WP_Error::get_item_quantity() in /xxxxxxx/xxxxxx/xxxxxx/wp-content/plugins/pinterest-rss-widget/pinterest-rss-widget.php on line 64

    that contains the following code:

    $maxitems = $rss->get_item_quantity((int)$maxfeeds);

    after a little research on this topic, i found this


    Same problem but with another rss the recomendation is to add

    $maxitems = $rss->get_item_quantity((int)$maxfeeds);

    Is this a solution or you recommend another alterntive?


  2. bkmacdaddy
    Plugin Author

    Posted 3 years ago #

    I just added that line to the newest version 2.01. Try upgrading and let me know if it solves your problem.

  3. wprebel
    Posted 3 years ago #

    hi bkmacdaddy, we upgraded to 2.01 and continue to receive the same error.

    Fatal error: Call to undefined method WP_Error::set_timeout() in /xxxxxxxxxxxxxxxxxxxxxxxxxxxx/wp-content/plugins/pinterest-rss-widget/pinterest-rss-widget.php on line 61

  4. bartom34
    Posted 3 years ago #

    Hi bkmacdaddy,

    I upgrade for the version 2.2.1 and the problem is still here.

    You can check-it here :

    I check the code and there is the timeout line recomended by aarcos.

    The problem is it solve ?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Pinterest RSS Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic