Domain flipping by Millionaire Society

Want To Learn More About Flipping Domains For Profit: Read My Post On Domain Flipping!

Undefined Function is_site_admin() After Upgrade To WordPress 2.8

Posted on July 21st, 2009 by admin in Domain Development | 6 Comments »

I finally got around to upgrading my blog’s WordPress version to 2.8. I followed the usual procedure – download latest code from WordPress, disable all plugins, upload latest code to my server overwriting everything except wp-content and wp-config.php.

Once I was done, I went to my admin page hoping to run the upgrade script and re-enable my plugins but I was surprised to find an error page with an error that read something like this:

Fatal error: Call to undefined function is_site_admin() in sem-google-analytics-admin.php

After I did some digging I found out that the function is_site_admin (the function is used by some plugins like the sem-google-analytics that I use) is obsolete as of version 2.8 and has been replaced with is_admin() – hat tip to ixibo for the solution.

To fix my error all I did was find the two occurrences of is_site_admin in sem-google-analytics-admin.php and replaced them with is_admin.

Works like a charm!

Want To Learn More About Flipping Domains For Profit: Read My Post On Domain Flipping!

6 Responses to Undefined Function is_site_admin() After Upgrade To WordPress 2.8

  1. Adam Dempsey says:

    Which is why it’s advisable to always update your plugins before upgrading your WordPress version, as that issue may of been fixed in a newer version supporting 2.8

  2. admin says:

    Adam, this happened after I updated the plugin to the latest version.

  3. Davi says:

    Thanks admin. For 1 minute (time to find your page with this workaround) I though that I had lost my blog :-( .

    Davi Silva
    Brazil

  4. Pingback: SOA, Simples Assim! » Migrando para Wordpress 2.8.2. Error “is_site_admin”

  5. Mark Quezada says:

    Thanks for the info!

  6. Tino says:

    Thanks for this post.
    Just like Davi I ran in this problem, found your workaround and was able to fix it within minutes.
    Tino

Leave a Reply

Your email address will not be published. Required fields are marked *

*

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Explore other similar posts that might interest you

Click on a post title to read the post!