Support » Fixing WordPress » Update core not working with PHP 5.4 Apache and FastCGI

  • Resolved danzigism


    Hello everyone. I’m having issues updating to version 3.5 ever since I updated to PHP 5.4 with FastCGI and php-fpm.

    If I go through the automatic update procedure, it takes about 30 seconds and I get the message saying my update was actually successful. However the yellow notification up at the top stays there and says I still need to upgrade. I check my version and I’m still stuck on 3.4.2.

    I checked my Apache logs, and I’m receiving this error:

    Creating default object from empty value in /var/www/ on line 90, referer:

    After doing a bit of Googling, I found a bug report that was fixed with a patch located here:

    I compared the code with my installation of WordPress, and everything is just fine.

    I have a feeling this issue is affecting all my WP sites. I have about 20 different sites on the same server and none of them are able to upgrade since I went to PHP 5.4.

    I’m not receiving any other errors except when I try to upgrade. It’s remarkably slower than before. It’s just weird how it says the upgrade was successful. It even takes me to the Welcome to WordPress 3.4.2 page, even though it downloaded version 3.5.

    Any tips for diagnosing this problem would be greatly appreciated.

Viewing 1 replies (of 1 total)
  • Looks like it was an issue with one of the plugins I was using. Argh. After I deactivated them all, I was immediately taken to the screen where “Database update required” and it went through the DB upgrade without any problems.

    The plugin in question was “BP-Album” for BuddyPress. Once I upgraded to 3.5, there was a plugin update available as well.

    Everything seems to be fixed as of now.

    Thanks 😉

Viewing 1 replies (of 1 total)
  • The topic ‘Update core not working with PHP 5.4 Apache and FastCGI’ is closed to new replies.