has_cap error corrected by replacing 8 with manage_options. has)_cap is deprecated.

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
/var/www/html/wp-includes/functions.php on line 2923