WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Update core not working with PHP 5.4 Apache and FastCGI (2 posts)

  1. danzigism
    Member
    Posted 1 year ago #

    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/mysite.com/wp-admin/includes/update.php on line 90, referer: http://mysite.com/wp-admin/update-core.php

    After doing a bit of Googling, I found a bug report that was fixed with a patch located here: http://core.trac.wordpress.org/attachment/ticket/21716/21716.patch

    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.

  2. danzigism
    Member
    Posted 1 year ago #

    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 ;-)

Topic Closed

This topic has been closed to new replies.

About this Topic