• I have a live site. When I upgrade the PHP version to 8 the home page is not opening also the backend of the home page is not opening. Also, the issue is not showing. I have used the below code for the config file. But the issue is not showing.
    define(‘WP_DEBUG’, true);
    define(‘WP_DEBUG_DISPLAY’, true);
    define(‘WP_DEBUG_LOG’, true );

    Others pages are working fine. Only the home page is not opening. Please suggest some way to fix this issue.

Viewing 6 replies - 1 through 6 (of 6 total)
  • What does “does not open” mean? Is an error message displayed, if so which one?

    Thread Starter pranay003

    (@pranay003)

    Hi,

    Yes for the home page one notice is showing but no error is showing. I am attaching the screenshot here. Please check and suggest some solutions. For your information, the other pages are working fine. Only the home page backend is showing like this.

    Notice: Function add_theme_support( ‘html5’ ) was called incorrectly. You need to pass an array of types. Please see Debugging in WordPress for more information. (This message was added in version 3.6.1.) in /var/www/vhosts/messer-ca.com/httpdocs/wp-includes/functions.php on line 5831
    There has been a critical error on this website. Please check your site admin email inbox for instructions.

    Learn more about troubleshooting WordPress.

    No error is showing. This is showing only on the home page. Other pages are fine. Please suggest some solution.

    Thanks
    Pranay

    • This reply was modified 2 years, 1 month ago by pranay003.

    I can’t see a screenshot in your post. You could upload it here and then post the link here: https://imgur.com

    The error message indicates a problem with the theme or plugin you are using. Please test if the message disappears when you change the theme to a default theme. If yes, then the theme you are using is to blame and you should contact their support. If it doesn’t disappear, it’s because of a plugin – you can do the same there.

    Thread Starter pranay003

    (@pranay003)

    See this is happening when the server php version is php8. Here is the screenshot link.

    View post on imgur.com

    Have you tried to change the theme as described above?

    Thread Starter pranay003

    (@pranay003)

    Hello @threadi

    Yes, I have changed the theme the home page is showing. But the issue is in my theme the home page is showing blank and I have used this code to see the errors
    define(‘WP_DEBUG’, true);
    define(‘WP_DEBUG_DISPLAY’, true);
    define(‘WP_DEBUG_LOG’, true );

    Still, I am unable to find the issue for why the home page is showing as blank. If I get the exact issue then I can try to fix that.
    Did you get my point?

    Thanks
    Pranay

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Home page backend not opening’ is closed to new replies.