• Resolved amandarmnd

    (@amandarmnd)


    Hello!

    When I delete the plugin, the debugging message still remains on the front-end. How can I delete the plugin without having these messages appear on the frontend. Thank you 🙂
    Amanda

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

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Andy Fragen

    (@afragen)

    When you deactivate the plugin it should restore whichever constants you had previously defined. There is a setting to not display the messages on the front end too.

    If you edit wp-config.php you should see which constants are still defined and can remove them.

    Thread Starter amandarmnd

    (@amandarmnd)

    Hmm…I can’t seem to make the display go away at all now.

    Are you saying “Set WP_DEBUG_DISPLAY to false, default is true.” should be checked?

    It is checked, yet I still see the display.

    Plugin Author Andy Fragen

    (@afragen)

    Yes, if WP_DEBUG_DISPLAY is false then any message out when WP_DEBUG is true would not be displayed.

    Can you look at your wp-config.php file and share the constants that are defined that relate to debugging? Do not give anyone access to see the whole file.

    Thread Starter amandarmnd

    (@amandarmnd)

    Do I use an FTP for that?

    Plugin Author Andy Fragen

    (@afragen)

    It depends upon you setup. You could install a plugin like Query Monitor and see what it reports under Environment.

    Also, under Tools > Site Health, do you see a ‘critical’ issue ‘Your site is set to display errors to site visitors’

    Thread Starter amandarmnd

    (@amandarmnd)

    It does state ‘Your site is set to display errors to site visitors’ under site health.

    This is what it says under environment:
    WP_DEBUG true
    WP_DEBUG_DISPLAY false
    WP_DEBUG_LOG true
    SCRIPT_DEBUG true

    Plugin Author Andy Fragen

    (@afragen)

    The above settings should not display errors on the front end.

    Can you screenshot an example of what you see on the frontend? I went to the site and didn’t see anything on main page.

    Thread Starter amandarmnd

    (@amandarmnd)

    Plugin Author Andy Fragen

    (@afragen)

    I don’t see any errors when I go to the site. You might try a private browser window or incognito window as it might be your browser or site cache.

    Thread Starter amandarmnd

    (@amandarmnd)

    Hi Andy,

    I was able to get the error removed from the frontend. However, if I deactivate the plugin, I get the error in my Site Health section telling me errors will be displayed on the front end. Also, in the query, DEBUG_DISPLAY and WP_DEBUG return to true upon deactivation. Is there a way to resolve this manually within the system files? If so, can you give me explicit instructions?

    Thank you,
    Amanda

    Plugin Author Andy Fragen

    (@afragen)

    These settings must have been defined in your wp-config.php file before WP Debugging was activated.

    You will need to edit your wp-config.php file and delete the entries related to WP_DEBUG_DISPLAY and WO_DEBUG. FYI the default value for WP_DEBUG_DISPLAY is true.

    To be explicit, delete the line define('WP_DEBUG', true);

    • This reply was modified 5 years, 6 months ago by Andy Fragen.
Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Deactivating plugin and debugging message still remains’ is closed to new replies.