WordPress.org

Support

Support » How-To and Troubleshooting » Fatal error: Call to undefined method WP_Error::get_item_quantity()

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

  • 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?

  • The topic ‘Fatal error: Call to undefined method WP_Error::get_item_quantity()’ is closed to new replies.
Skip to toolbar