• I updated my site from 4.9.3 to 4.9.5 and my home page broke. I am now getting the following PHP errors in my log:

    [06-Apr-2018 20:31:08 UTC] PHP Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method allow_php_in_posts::shortcode_advanced() should not be called statically in /var/www/vhosts/97/244009/webspace/httpdocs/easterntandemrally.org/wp/wp-includes/class-wp-hook.php on line 286
    [06-Apr-2018 20:31:08 UTC] PHP Strict Standards: Non-static method allow_php_in_posts::option_get() should not be called statically in /var/www/vhosts/97/244009/webspace/httpdocs/easterntandemrally.org/wp/wp-content/plugins/allow-php-in-posts-and-pages/allowphp.php on line 396

    I downgraded back to 4.9.3 and all is OK.

    My site uses a custom theme that was developed a few years ago by a third party. This may be a conflict with one of the plug ins or with some custom code that was written, but the only error I see is in the core WP code, so I can’t tell. Any ideas?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi Mike,

    You aren’t the only one with this specific problem. You need to create separate test site with updated wordpress (with exact design migration) to test before applying to your live site. I have seen such issues while working on my clients websites (mostly custom themes).

    If you use custom theme/plugin, you must test a update on dev site before going to live one. It will help you avoiding big loss.

    Thanks.

    Thread Starter mikebian

    (@mikebian)

    Fortunately I was able to use WP Rollback to move back to 4.9.3, so my site is OK for now. WordPress does not make it easy to run a development site. I will never understand why it insists on fully qualifying internal links. Please don’t try to address that here. Let’s keep this thread on my original problem.

    I did some googling on this issue before I posted this question and could not find anyone with the same problem.

    I’m getting something similar, I get the message, 500 Internal Server Error. I think I’ll have to also rollback to a previous version!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘My site broke after upgrading to 4.9.5’ is closed to new replies.