has_cap was called with an argument that is deprecated since version 2.0.0

PHP Notice: 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 /home/…………/public_html/wp-includes/functions.php on line 4029

 

Notice: 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 /home/………./public_html/wp-includes/functions.php on line 4031

Thank you