• mtrinidadm

    (@mtrinidadm)


    Hi! I have problems on my website so after a research I decided to update PHP version from 7.4 to 8.2 but it doesn’t work. I can’t enter backend and this code appears everywhere hahaha

    In the PHP 7.4 version it doesn’t show this code but I have other errors with plugins

    I attached an image here: https://imgur.com/2hyUpyd

    Sorry if my english is bad. I hope yall can help me

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Anton Vlasenko

    (@antonvlasenko)

    I recommend doing the following:

    1. Navigate to the public_html/wp-config.php file.
    2. Please back up the original wp-config.php file (yes, it’s absolutely mandatory) in case something goes wrong so that you can restore it.
    3. Around line 81 you should see something like this:
    define( 'WP_DEBUG', true );

    It might say false instead of true, but that doesn’t matter.

    1. You need to wrap this line like this:
    if ( ! defined( 'WP_DEBUG' ) ) {
    define( 'WP_DEBUG', true ); // replace 'true' with 'false' as needed.
    }
    1. Save the file.
    2. Check if the issue is gone.

    If that doesn’t resolve the issue, you’ll need to disable your plugins to see if any particular plugin is causing problems. Please refer to this guide on how to do it.

    Let me know if you need further assistance!

    Moderator bcworkz

    (@bcworkz)

    FWIW, WP_DEBUG should never be defined as true on a production site unless you’re actively developing code on it. And it’s not a great idea to develop code on a production site anyway. Development should be done on staging or local installations.

    Thread Starter mtrinidadm

    (@mtrinidadm)

    Hii! I checked and WP_DEBUG is defined as false. I’m gonna try what Anton said

    Thanks Anton and bcworkz!

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.