Fatal error: Call to undefined method WP_Error::get_item_quantity() Installation / Upgrading - All in One SEO Pack Forum

All in One SEO Pack Pro Version

 
You must be logged in to post Login Register


Register? | Lost Your Password?

Search Forums:


 






Wildcard Usage:
*    matches any number of characters
%    matches exactly one character

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

Post
New Member

Brent Crouch

posts 1

10:48 pm November 3, 2009

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

posts 1

11:08 am November 8, 2009

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

Forum Timezone: America/New_York

Most Users Ever Online: 76

Currently Online:
13 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 5
Forums: 23
Topics: 796
Posts: 2254

Membership:

There are 2600 Members

There are 4 Admins
There are 2 Moderators

Top Posters:

carrysed – 25
ear88 – 12
Deepak – 11
jerseyhe – 11
potentmix – 10
kl – 10

Recent New Members: nigel75, teibaz, yourpagetoday, JorgeS, dilip, humaira1414

Administrators: WordPress Professional (362 Posts), hallsofmontezuma (202 Posts), onefinejay (10 Posts), stevemortiboy (4 Posts)

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



 

All in One SEO Pack Pro Version

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