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

WordPress Themes by StudioPress

You must be logged in to post Login Register

Search Forums:


 






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

Post
New Member

Brent Crouch

10:48 pm November 3, 2009

posts 1

Upgraded to WordPress 2.8.5.

Upgraded to All In One SEO 1.6.7


When I visit the admin page, I get this message. 


Click on option titles to get help!
Highest Donations
Fatal error: Call to undefined method WP_Error::get_item_quantity() in /home/howtosav/public_html/wp-content/plugins/all-in-one-seo-pack/aioseop.class.php on line 1558


I've tried all the basics like deleting the plugin and reinstalling.  I've disabled the other plugins on the site.  Nothing seems to be working.  Any ideas?


New Member

aziz

Istanbul

11:08 am November 8, 2009

posts 1

Hi,

I've same error and checked php codes.

The temporary solution was commenting some lines on aioseop.clsss.php under /wp-content/plugins/all-in-one-seo-pack/

I've putting them bellow:

On line 1558:

//$maxitems = $rss->get_item_quantity(3);

on line 1561

//$rss_items = $rss->get_items(0, $maxitems);

on line 1585

//$maxitems = $rss->get_item_quantity(3);

and on line 1588

//$rss_items = $rss->get_items(0, $maxitems);

The reason of error was this:

RSS Error: WP HTTP Error: name lookup timed out


About the WordPress Developer forum

Most Users Ever Online:

60


Currently Online:

16 Guests

Forum Stats:

Groups: 5

Forums: 23

Topics: 531

Posts: 1627

Membership:

There are 1028 Members

There has been 1 Guest

There are 3 Admins

There are 2 Moderators

Top Posters:

Deepak – 11

potentmix – 10

kl – 10

mackeydesigns – 10

karlsan – 9

darrinclement – 9

Administrators: WordPress Professional (282 Posts), hallsofmontezuma (200 Posts), onefinejay (10 Posts)

Moderators: aaron (5 Posts), davecashmore (2 Posts)


WordPress Themes by StudioPress

Semper Fi Web Design is a SDVOSB (Service Disabled Veteran Owned Small Business)