How to Fix Fatal Error after upgrade to WordPress 2.8

Posted on 12 June 2009

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…

  1. Delete the Plug-in folder after downloading it via FTP
  2. Find the phrase is_site_admin() in the plugin files
  3. Replace it with is_admin()
  4. Upload it again to server via FTP
  5. Login to WordPress admin, Activate the plugin if it is de-activated.
  6. Say Thanks :)

People who liked this Post also read

35 Responses to “How to Fix Fatal Error after upgrade to WordPress 2.8”

  1. barry says:

    Are you saying that I can delete the specific plugin folder 100%?

  2. Maria says:

    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

  3. John Dalziel says:

    Works great – thanks rmak!

  4. Sally says:

    Ok thanks!

    I didn’t even know the function is_site_admin() exist(ed)… I used is_admin() all the time. :)

  5. Tony says:

    How do you delete the plugin folder if I cannot access the admin pages to edit anything?


  6. Maria says:

    You have to use your hosting control panel or FTP client to do that

  7. iceolate says:

    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!

  8. Adam says:

    Thanks! I just edited sem-google-analytics-admin.php on my site and changed it as you said and it worked just fine.

  9. Øyvind says:

    Thank you! I upgraded today and got the error. Searched and found your perfect fix. :)

  10. Thanks for sharing the useful information…

  11. RoneTyne says:

    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.


  12. Ap2Day says:

    Thanks for this Useful Info…

  13. Neil Brown says:

    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!

  14. Tad Suiter says:

    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.

  15. bmattb says:

    Thanks for this!

  16. drh says:

    I love simple clean solutions – thanks a bunch!

  17. ovidiu says:

    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!?

  18. Maria says:

    actually, wordpress made is_site_admin() function obsolete and dropped from core functions. that’s why any plugin that calls it seize to work.

  19. wim says:


    Thx for your information. My problem solved just by editing is_site_admin() to is_admin() without deleting plugin’s folder ;)

  20. Brooks says:

    Thanks a lot for this. Saved me when upgrading to 2.8.4.

  21. sterndal says:

    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!


  22. Darren says:

    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


  23. Phillip says:

    Thanks. This worked for me as well today. Edited my google analytics file in the plugin folder using CODA.

  24. Martha says:

    Thanks! Worked perfectly :)

  25. Dave F says:

    Thanks so much for the tip!

  26. RG says:

    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!!!

  27. gwen says:

    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.

  28. Doug says:

    Thanks for the fix!

  29. James Lorenz says:

    Quick and easy. I thought I was in for a big problem too.

  30. Nuwan says:


  31. Shawn says:

    Thanks for the tip! It worked!

  32. Z says:

    Thank you very much! :)
    Z´s last [type] ..“Sigh No More” – Mumford & Sons


June 2009
« May   Jul »
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30