Tag Archive for 'wordpress 2.5'

Audio player plugin not working in WordPress 2.5?

I use the Audio Player plugin on a number of sites where I publish podcasts, principally PodLeaders.com

The main reason I use it is to simply populate the posts with a Flash player for any podcasts which I post so people can listen to them onscreen.

However, since upgrading PodLeaders to WordPress to 2.5 the plugin has stopped working :-( It simply displays a blank where the Flash player should be.

I tried switching to the Default WordPress theme to see if the problem was theme related but it appears not to be as the problem also happened in that theme.

I downloaded another plugin, called Podcasting which is supposed to work with WordPress 2.5 but that didn’t seem to work either.

Does anyone have any idea where the problem might lie and what I’ll need to do to fix it?

UPDATE: Problem solved. Pete reminded me in the comments of this post to check my folder structure for the Audio Player plugin and sure enough when updating from 1.2.2 to 1.2.3 I had inadvertently uploaded the plugin folder instead of simply the contents of the plugin folder! Fixed now and working once more. Thanks Pete.

Fatal error: Call to undefined function wp_register_sidebar_widget() in…

Beware if you update to WordPress 2.5 and are using the very popular K2 theme.

If you are using K2 and you do update to 2.5, you will receive the following error on trying to browse to your WordPress dashboard:

Fatal error: Call to undefined function wp_register_sidebar_widget() in /path-to-blog/wp-admin/includes/dashboard.php on line 31

A bit of research told me that this is because K2 turns off WordPress widgets in favour of its own widget manager and as 2.5 has started to widgetize the Dashboard, you get this error.

To fix the error:
navigate to your K2 folder -> app -> includes
edit the file widgets-removal.php as below

Change the contents of the file from:

< ?php
if (get_option('k2sidebarmanager') == '1') {
	remove_action('plugins_loaded', 'wp_maybe_load_widgets', 0);
}
?>

to

< ?php
if (get_option('k2sidebarmanager') == '1') {
	remove_action('plugins_loaded', 'wp_maybe_load_widgets', 0);
  if( is_admin() )
	{global $pagenow; if( $pagenow == 'index.php' ) wp_maybe_load_widgets();
}
}
?>

Your dashboard should now be browsable once more!

I knew I should have held off on updating longer. I blame Donncha!

WordPress 2.5 RC1 released

I read Matt’s post about the release of a beta version of WordPress 2.5 this morning with great excitement (sad aren’t I?) and immediately downloaded it.

The screenshots Matt put up look great and I can’t wait to try it out.

However, then I had a rare moment of clarity. Waaaait a sec Tom. Let’s not go breaking the site just yet.

Often blog software updates break plugins and occasionally themes. I certainly had difficulties with this site the last time I upgraded.

Let’s not repeat that again in a hurry.

SO if anyone has tried out WordPress 2.5, how is it looking, what are the gotchas and how soon will a painless upgrade be viable?




Tom Raftery’s Social Media is Digg proof thanks to caching by WP Super Cache!