• Hi,

    When I set wp-config.php: define(‘WP_DEBUG’, true);

    It causes the following error message:

    <b>Notice</b>: has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in <b>C:\Bitnami\wordpress-4.9.8-3\apps\wordpress\htdocs\wp-includes\functions.php</b> on line <b>4088</b><br />

    Any ideas on why?

    Thanks,
    –Dave

Viewing 2 replies - 1 through 2 (of 2 total)
  • Geoffrey Shilling

    (@geoffreyshilling)

    Volunteer Moderator

    This may be a plugin or theme conflict. Please attempt to disable all plugins, and use one of the default (Twenty*) themes. If the problem goes away, enable them one by one to identify the source of your troubles.

    If you can install plugins, install “Health Check”: https://ww.wp.xz.cn/plugins/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 dforth

    (@dforth)

    Hi Geoffrey,

    Thanks, it was a plugin conflict.
    Health Check plugin is very useful.

    Thanks afgain,
    –Dave

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Setting WP_DEBUG’, true causes error’ is closed to new replies.