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
$maxitems = $rss->get_item_quantity(3);
Any ideas what could be causing the error?