• Hello,
    Please i will need help on my website, as it shows critical error after i have updated all my plugins.
    Also I can’t access the admin mails, to see the steps to follow to solve the problem.
    Thanks

    • This topic was modified 1 year, 4 months ago by fabricenn.

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

Viewing 2 replies - 1 through 2 (of 2 total)
    • Do you have a chance to rollback to previous version? Maybe you have backup or similar?
    • Which hosting to you use? Do you have access to see wordpress logs? Does wordpress admin logs for you?
    • Do you know which version of wordpress you have?

    If you have access to WP admin, and hosting provide panel, you can enable debug mode, which will tell you details about this issue.

    Here are docs how to do it https://wpforms.com/developers/how-to-enable-debugging-in-wordpress/

    TLDR:

    To modify wp-config.php file via UI, you’ll typically need to use an FTP client or a file manager in your hosting control panel. Here are the steps using cPanel as an example:

    1. Login to your hosting account: Open your browser and navigate to your cPanel login URL. Enter your cPanel username and password.
    2. File Manager: In your cPanel dashboard, look for the “File Manager” icon and click on it. This will open the file manager, showing a list of all your files and directories.
    3. Locate wp-config.php: Navigate to the root directory of your WordPress installation. The root directory often has the name public_html or www or named after your site. Inside this directory, you’ll find the wp-config.php file.
    4. Edit wp-config.php: Right-click on wp-config.php and select “Edit” or “Code Edit”. A text editor will open in a new tab with the contents of the file.
    5. Enable Debug Mode: Look for the line that says define('WP_DEBUG', false); and change it to define('WP_DEBUG', true);. If the line doesn’t exist, add it above the “That’s all, stop editing! Happy publishing.” line.
    6. Debug Log: To save the error messages in a file, add the following lines:sqlCopy codedefine('WP_DEBUG_LOG', true); define('WP_DEBUG_DISPLAY', false);This will save errors in a debug.log file inside the wp-content directory.
    7. Save changes: Click on “Save Changes” button.
    8. Review Log: Now you can reproduce the error and after that review debug.log file inside the wp-content directory.

    Remember to disable the debug mode once you’ve resolved the issue, as keeping it enabled can expose your site to security risks. You can do this by setting WP_DEBUG back to false and removing the other two lines you added earlier.

    Note: The exact names and locations of the options in your hosting account may vary slightly depending on your hosting provider.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘My Website shows critical error after plugins updated’ is closed to new replies.