Title: A theme problem
Last modified: August 19, 2016

---

# A theme problem

 *  [khdown](https://wordpress.org/support/users/khdown/)
 * (@khdown)
 * [15 years ago](https://wordpress.org/support/topic/a-theme-problem/)
 * After I activated this theme, a phrase on the top of my Dashboard appears. It’s
 * > 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/a2959947/public_html/w3/wp-includes/functions.
   > php on line 3321
 * .
 * The line 3321 of function.php is
 * > trigger_error( sprintf( __(‘%1$s was called with an argument that is **deprecated**
   > since version %2$s! %3$s’), $function, $version, $message ) );
 * .
 * I would appreciate any help. Thanks!

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

 *  [Chip Bennett](https://wordpress.org/support/users/chipbennett/)
 * (@chipbennett)
 * [15 years ago](https://wordpress.org/support/topic/a-theme-problem/#post-2012201)
 * You need to find where `has_cap` is being invoked in your Theme template files.
 * I would look in _functions.php_, and would look for a function call that requires
   a _capability_ as an argument, such as `add_theme_page()`.
 * What Theme are you using, by the way?
 *  Thread Starter [khdown](https://wordpress.org/support/users/khdown/)
 * (@khdown)
 * [15 years ago](https://wordpress.org/support/topic/a-theme-problem/#post-2012295)
 * My theme is ClassiPress 3.0.5.1. Thank for your reply but I still don’t get it
   because I have never learnt coding…
 *  [Chip Bennett](https://wordpress.org/support/users/chipbennett/)
 * (@chipbennett)
 * [15 years ago](https://wordpress.org/support/topic/a-theme-problem/#post-2012301)
 * Where did you get that Theme?

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

The topic ‘A theme problem’ is closed to new replies.

 * 3 replies
 * 2 participants
 * Last reply from: [Chip Bennett](https://wordpress.org/support/users/chipbennett/)
 * Last activity: [15 years ago](https://wordpress.org/support/topic/a-theme-problem/#post-2012301)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
