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

The support forums have a new home! Please visit All in One SEO Pack's new residence at Semper Plugins to purchase a support plan.

Please consider registering
guest

Log In

Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




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

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Fatal error: Call to undefined method WP_Error::get_item_quantity()
November 3, 2009
10:48 pm
Brent Crouch
New Member
Forum Posts: 1
Member Since:
November 4, 2009
Offline

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?

November 8, 2009
11:08 am
aziz
New Member
Forum Posts: 1
Member Since:
November 8, 2009
Offline

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

Forum Timezone: America/New_York

Most Users Ever Online: 205

Currently Online:
28 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

romiojuliat: 102

yaoming987: 50

jintuy: 50

miki1986: 33

newshow: 28

karen1234: 27

Member Stats:

Guest Posters: 0

Members: 6356

Moderators: 3

Admins: 4

Forum Stats:

Groups: 5

Forums: 23

Topics: 1546

Posts: 3450

Newest Members: carofern@cisco.com, pronto, jessie, pbaylies, ninaeast, freda

Moderators: davecashmore (2), aaron (5), tempadmin (0)

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