• My WordPress blog is hosted on Bluehost. They recently updated to PHP 5.4, which has broken all the page links on my blog. Bluehost support suggested the following, neither of which has worked.
    1. updated Permalinks
    2. add Velvet Blue plugin and update URL’s

    Any ideas for a fix would be very welcome, as the blog is useless as it is.

    The blog: https://scottshaw.org/

Viewing 8 replies - 1 through 8 (of 8 total)
  • I tried clicking on a couple of the navigation links and it showed the same page each time.

    Have you tried temporarily turning off all plugins through WP Plugins and then turning pretty permalinks on?

    BlueHost has 5.4 available, but I am still using 5.3 there while trying to prepare for 5.4. Do you not have the same option?

    You may still have an option to select PHP 5.3, see this link:

    https://my.bluehost.com/cgi/help/447

    I’ve had a few plugins break when Bluehost switched to PHP 5.4. It’s really an issue plugin authors should have caught, as it was deprecated in earlier versions of PHP:

    Fatal error: Call-time pass-by-reference has been removed in...

    https://www.php.net/manual/en/migration54.incompatible.php

    Call-time pass by reference has been removed.

    Thread Starter scottshaw

    (@scottshaw)

    Thanks everyone! Problem solved. I turned off all plugins, then changed the Permalinks setting to post name, saved, then back to default and saved again. Immediately after the blog was back to normal. I guess the problem is with plugins, rather than the update to 5.4 itself? Anyway, thanks!

    Thread Starter scottshaw

    (@scottshaw)

    PS: when turning the plugins back on one by one, I found the culprit: Photopress. Turning it back re-created the problem, while shutting it down fixed it again. FYI.

    Well, both sort of. But it’s really more a case of plugins not keeping up with changes in PHP. I’ve had a couple plugins that gave me this error in the last few months. We host most of our smaller WordPress sites on Bluehost. One plugin I simply rewrote and put on the repository, the other I had to make an emergency fix to, but I think the author has updated his plugin now. The call-time pass-by-reference removal is the only issue I’ve had with PHP 5.4.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘PHP 5.4 disables pages’ is closed to new replies.