WordPress.org

Ready to get started?Download WordPress

Forums

Fatal error: Call to undefined method WP_Error::get_item_quantity() (1 post)

  1. alexisfrsh
    Member
    Posted 1 year ago #

    I've implemented a way to show the Twitter feed without a plugin. It's worked for weeks(months even, on a different site), but is now giving me trouble. Here is the error:

    Fatal error: Call to undefined method WP_Error::get_item_quantity() in /home/content/j/e/o/jeoffb50/html/wp-content/themes/Urban Palate theme by FRSH Studio/home.php on line 27

    Line 27: $maxitems = $rss->get_item_quantity(3);

    Full Twitter code.

    Any ideas what could be causing the error?

Topic Closed

This topic has been closed to new replies.

About this Topic