How to Fix Fatal Error after upgrade to WordPress 2.8
Posted by
Batool Shamim
(35) Comment
If you are like many of us using some plug-ins like nofollow links in post or Google analytics(these are the plugin that use the is_site_admin() function).

You should be ready to be surprised to find that the is_site_admin() function is now obsolete. After a successful upgrade from wordpress 2.7, when you re-login to wordpress 2.8 you get following error
Fatal error: Call to undefined function is_site_admin() in ….
Here is how I fixed this…
-
Delete the Plug-in folder after downloading it via FTP
-
Find the phrase is_site_admin() in the plugin files
-
Replace it with is_admin()
-
Upload it again to server via FTP
-
Login to WordPress admin, Activate the plugin if it is de-activated.
-
Say Thanks
You might also like
| 10 WordPress Plug-in for powering your Blogging Experience In this blog post I will explain you that how you can use advance wordpress plug-in for powering your... | 10 Plugins To Improve Your WordPress Blog Experience WordPress is a blog publishing application that is used by millions of people worldwide. It started... | Top 5 WordPress Virtual Appliance Downloads There are number of virtual appliances available for some one who is deep into wordpress blogging and... | Top 10 WordPress Plugins Wordpress, a very useful tool for blogging websites. It can be made more effective by using its plugins.... |
Categories :
WordPress
Trackbacks & Pingbacks
- Pingback by Ymmud » Blog Archive » How to Fix Fatal Error after upgrade to Wordpress 2.8 on June 18, 2009 @ 5:51 pm
- Pingback by Upgraded to WordPress 2.8 and faced fatal errors? on July 19, 2009 @ 9:06 am












Are you saying that I can delete the specific plugin folder 100%?
I think he is saying “DO NOT Delete” the plugin folder. Instead, he recommends to edit the plugin files and change the string from is_site_admin to is_admin
Works great – thanks rmak!
Ok thanks!
I didn’t even know the function is_site_admin() exist(ed)… I used is_admin() all the time.
How do you delete the plugin folder if I cannot access the admin pages to edit anything?
-n00b
You have to use your hosting control panel or FTP client to do that
Thanks! I didn’t have to delete anything. I logged onto my host server using SSH and directly edited the file with pico (it’s a UNIX host).
THanks again!
Thanks! I just edited sem-google-analytics-admin.php on my site and changed it as you said and it worked just fine.
Thank you! I upgraded today and got the error. Searched and found your perfect fix.
Thanks for sharing the useful information…
Thanks for sharing this!!! Very helpful, quick fix that worked like a charm. As a note I had to .php files in my google analytics folder. It was the -admin.php that had to be changed and there were 2 instances of the is_site_admin()that had to be corrected.
Cheers!
Thanks for this Useful Info…
Thanks! That worked like a charm. As some mentioned above, my culprit was sem-google-analytics-admin.php and once I fixed it, it worked!
Thank you so much for posting this. I had no idea what was going on when this happened. Fortunately, your very simple solution was at the top of my Google search, and fixing this took all of two minutes.
Thanks for this!
I love simple clean solutions – thanks a bunch!
I am not sure I udnerstand this: is_site_admin was checking if the user is an overall admin. what does is_admin do? to me it sounds like its just checking for admin not “sper” admin? so every blog owner is basically an admin!?
actually, wordpress made is_site_admin() function obsolete and dropped from core functions. that’s why any plugin that calls it seize to work.
Hi,
Thx for your information. My problem solved just by editing is_site_admin() to is_admin() without deleting plugin’s folder
Thanks a lot for this. Saved me when upgrading to 2.8.4.
hi thanks!
this post helped a lot
some of my “fatal error” problems are already solved!
hope you can write a post about fixing fatal error on comments!
cheers!
Many thanks!
This worked a treat.
Although I edited mine in CPanel.
Good Post, clear and simple.
BTW the plugin I had to edit was wordpress_related_posts
Cheers
Darren
Thanks. This worked for me as well today. Edited my google analytics file in the plugin folder using CODA.
Thanks! Worked perfectly
Thanks so much for the tip!
Thank you, you’ve saved my life. You should add that the use of Notepad++ is highly recommended. It searched for the obsolete function and replaced it in the whole plugin folder automatically, which tottaly rocks!!!
Bonjour, je n’ est pas le plugin d’ installé dans le ftp, alors je ne peut pas l’ effacer..par contre je l’ est effacé de ma base donnée. Et ne trouve pas les is_site_admin phrase.
Thanks for the fix!
THX!
Thanks!
Quick and easy. I thought I was in for a big problem too.
Thanks!
Thanks for the tip! It worked!
Thank you very much!