[wp-testers] Fatal error: Call to a member function on a non-object (Upgrade from 2.3.3)

Nick Bohle mail at nickbohle.de
Sat Mar 29 16:26:08 GMT 2008


I found another "fix" that was posted here:
http://code.google.com/p/simple-tags/issues/list

OPEN simple-tags.php (1.3.9.1) and REPLACE

// Init ST
global $simple_tags;
$simple_tags = new SimpleTags();

WITH

// Init ST
function st_init() {
        global $simple_tags;
        $simple_tags = new SimpleTags();
}

add_action('init', 'st_init');

This made Simple Tags working under WP 2.5 RC2, RC3 and (now) WP 2.5.

But it seems that the plug-in author deleted the fix. Don't know why...

Cheers


> -----Original Message-----
> From: wp-testers-bounces at lists.automattic.com [mailto:wp-testers-
> bounces at lists.automattic.com] On Behalf Of Dennis Slagers
> Sent: Saturday, March 29, 2008 4:42 PM
> To: wp-testers at lists.automattic.com
> Subject: Re: [wp-testers] Fatal error: Call to a member function on a
> non-object (Upgrade from 2.3.3)
> 
> That fixed it!
> 
> just had to add <?php the_tags(); ?>
> and the site was working normall ..
> 
> Thanks!
> Dennis
> 
> Nick Bohle schreef:
> > Hi!
> >
> > I guess your problem is caused by Simple Tags. Deactivate it.
> >
> >
> >
> >
> _______________________________________________
> wp-testers mailing list
> wp-testers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-testers



More information about the wp-testers mailing list