Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1363568

    Hi there!

    My ISP is forcing an upgrade from PHP 7.4 to 8.0 by 3 Oct :(

    I have enabled PHP 8.0 but then the news / blog page breaks and I have no clue how to fix it. The page looks perfect when logged in as admin and editing / viewing it but when logged out (as a normal visitor would view it) it breaks.

    Help will be much appreciated! Details below in private content.

    Thanks in advance,
    Pieter

    #1363575

    Hey pieter_piconomix,

    Thank you for the inquiry.

    Do you see any errors after upgrading PHP? You may need to temporarily set the site to debug mode and enable the error logs.

    // https://wordpress.org/support/article/debugging-in-wordpress/

    Please add this code in the wp-config.php.

    
    define( 'WP_DEBUG', true );
    define( 'WP_DEBUG_LOG', true );
    define( 'WP_DEBUG_DISPLAY', true );
    @ini_set( 'display_errors', 0 );
    define( 'SCRIPT_DEBUG', true );
    

    After enabling the debug mode, try to refresh the page and see if there are errors.

    Best regards,
    Ismael

    #1363771

    Hi Ismael,

    Thanks for the advice! I’ve enabled debugging as recommended and it looks like a bad interaction between Enfold and the WP-SpamShield plug in. The captured debug output is in the private content below.

    As a test I’ve disabled WP-SpamShield and then the page displays correctly but obviously I can’t leave it disabled :(

    Kind regards,
    Pieter

    #1363786

    Hi,

    Thanks for the update. Does the same messages appear if you activate a default WordPress theme? Maybe there are alternative plugins you could try using instead? I’m not sure exactly what you are using the plugin in question for, but there is spam protection built into the theme, should you need it.

    Best regards,
    Rikard

    #1363888

    Hi Rikard,
    Thanks for the advice :) I switched to a default theme and the problem was still present so WP-SpamShield is the cause. Lowest hanging fruit was to switch to a different anti-spam solution.
    Kind regards,
    Pieter

    #1363904

    Hi,

    Thanks for the update. I guess that you found the cause of the problem then, please let us know if you should need any further help on the topic, or if we can close it.

    Best regards,
    Rikard

    #1363914

    Hi Rikard,
    Sorry that I did not state it explicitly. Yes you can close it. Thanks for the help, it is much appreciated!
    Kind regards,
    Pieter

    #1363917

    Hi,

    Glad we could help! :)

    For your information, you can take a look at Enfold documentation here – https://kriesi.at/documentation/enfold/

    If you have any other questions or issues, feel free to start a new thread under Enfold sub forum and we will gladly try to help you :)

    Enjoy the rest of your day!

    Best regards,
    Yigit

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘News / blog page breaks when upgrading from PHP 7.4 to 8.0’ is closed to new replies.