• Hi,
    Since yesterday a plugin gives me a PHP notice in the frontend. In my wp-config.php WP_DEBUG is on false, but the warning is visible though. I did some research in the web and found some snippets. Now my code is like that:

    ini_set('display_errors','Off');
    ini_set('error_reporting', E_ALL );
    define('WP_DEBUG', false);
    define('WP_DEBUG_DISPLAY', false);
    
    error_reporting(0);
    @ini_set('display_errors', 0);

    The warning remains. So I do not have any more ideas what to do… Has anybody suggestions?

    Thanks in advance!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator James Huff

    (@macmanx)

    This may be a plugin or theme conflict. Please attempt to disable all plugins, and switch to the default Twenty Twenty-One theme. If the problem goes away, enable them one by one to identify the source of the problem.

    If you can install plugins, install Health Check. On the troubleshooting tab, you can click the button to disable all plugins and change the theme for you, while you’re still logged in, without affecting normal visitors to your site.

    Thread Starter rabox66

    (@rabox66)

    Do you mean my code is not executed due to a plugin conflict?

    Moderator James Huff

    (@macmanx)

    What is the plugin, and what is the error reported?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP-Notice’ is closed to new replies.