• Has a notice like this:

    Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /home/xxxxx/public_html/wp-includes/functions.php on line 3495

    I did a whole site file search, found more than one php files have has_cap(). Anyone can help me out, how to find out which one causes the notice?

    Thanks!

Viewing 1 replies (of 1 total)
  • It seems likely that whatever theme or plugin files you found the function in may need to be updated. Check with the developer to see if there is an updated version available.

Viewing 1 replies (of 1 total)
  • The topic ‘How to locate the line of code that causes problem?’ is closed to new replies.