I upgraded my blog to WordPress 2.3 when it released last week and had a great deal of trouble trying to get things to work out here.

This is one major release of WordPress, that really requires you to check all your plugins.

Anyway, one of my favorite plugins is Flickr Photo Album, which allows me to easily integrate Flickr with my photos’ page out here.

The current version of the plugin throws up a

Fatal error: Cannot redeclare get_users_drafts()

This has happened because WordPress 2.3 has done away with admin-db.php and now uses user.php to call the same function.

I found a solution in the Flickr Forum. Open wp-content/plugins/silaspartners/flickr/admin_options_load.php and find

  1. require_once(dirname(__FILE__).$tmpPath.‘/wp-admin/admin-db.php’);

Replace with:

  1. // changed since WP2.3
  2. require_once(dirname(__FILE__).$tmpPath.‘/wp-admin/includes/user.php’);

This should fix the error and get your album working perfectly once again. Just need to wait till the author fixes this.

Subscribe to the Feed
Liked this article? Stay in touch with us! Don't forget to Stumble It!
Grab the site feed or add to your Technorati favs.

Get $100 in Free Links

Post Details

Post Date :
Monday, Oct 8th, 2007 at 11:03 pm
Category :
Plugins and Tips & Tricks and WordPress
Tags :
, , ,
Do More :
Both comments and pings are currently closed.

Related Posts

Some posts related to the post you have just read:

Search this site for Related Posts

Google