Title: Some error notices
Last modified: August 24, 2016

---

# Some error notices

 *  [njs](https://wordpress.org/support/users/njs/)
 * (@njs)
 * [11 years ago](https://wordpress.org/support/topic/some-error-notices/)
 * FYI, I have DEBUG turned on and am getting the following errors (displayed in
   the WP interface)…
 * `has_cap was called with an argument that is <strong>deprecated</strong> since
   version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles
   and capabilities instead. in <b>***/wp-includes/functions.php</b> on line <b>
   3508`
 * and various ‘undefined index:’ error notices on the plugin settings page. These
   seem to go once some settings have been saved.
 * These don’t prevent the plugin from working but are not ideal as some are rendered
   in the admin menus etc.
 * 🙂
 * [https://wordpress.org/plugins/better-anchor-links/](https://wordpress.org/plugins/better-anchor-links/)

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

 *  Thread Starter [njs](https://wordpress.org/support/users/njs/)
 * (@njs)
 * [11 years ago](https://wordpress.org/support/topic/some-error-notices/#post-6137777)
 * UPDATE
 * Also noticed that the following error notices are displayed on the front end (
   where excerpts are output I believe)…
 *     ```
       Notice: Undefined variable: tag in ***/wp-content/plugins/better-anchor-links/mwm-aal-class.php on line 179
   
       Notice: Undefined variable: htmltag in ***/wp-content/plugins/better-anchor-links/mwm-aal-class.php on line 180
       ```
   
 *  [jeffreyd000](https://wordpress.org/support/users/jeffreyd000/)
 * (@jeffreyd000)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/some-error-notices/#post-6138030)
 * Same thing… this plugin seems not to be compliant with the current version of
   wordpress
 * 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/public_html/wp-includes/functions.php on line 
   3508
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home//public_html/wp-includes/functions.php:3508) in /home/public_html/wp-
   includes/pluggable.php on line 1196
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/public_html/wp-includes/functions.php:3508) in /home//public_html/wp-
   includes/pluggable.php on line 1196
 *  [filoveg](https://wordpress.org/support/users/filoveg/)
 * (@filoveg)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/some-error-notices/#post-6138046)
 * I have just installed this plugin, everything is screaming orange in my dashboard,
   rendering it completely unusable. Did author abandoned this plugin?
 *  Thread Starter [njs](https://wordpress.org/support/users/njs/)
 * (@njs)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/some-error-notices/#post-6138047)
 * I went with this in the end: [https://wordpress.org/plugins/table-of-contents-plus/](https://wordpress.org/plugins/table-of-contents-plus/)
 *  [Dirk.S](https://wordpress.org/support/users/dirks/)
 * (@dirks)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/some-error-notices/#post-6138048)
 * The plugin is no more working properly on my site. causes some sites in edit-
   mode to display “white” pages with parts of my websites content. Please update
   and make it compliant with 4.4!
 *  [paer](https://wordpress.org/support/users/paer/)
 * (@paer)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/some-error-notices/#post-6138051)
 * I have the same error message:
 * > Usage of user levels by plugins and themes is deprecated. Use roles and capabilities
   > instead.
 * Does anyone know how to fix this?
 *  [drizzlyowl](https://wordpress.org/support/users/drizzlyowl/)
 * (@drizzlyowl)
 * [10 years ago](https://wordpress.org/support/topic/some-error-notices/#post-6138052)
 * Hi there, I’ve made a patch for this plugin based on the GitHub mirror available
   to make it compatible with 4.4+. You can see the changed files here: [https://github.com/DrizzlyOwl/better-anchor-links](https://github.com/DrizzlyOwl/better-anchor-links)

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

The topic ‘Some error notices’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/better-anchor-links_f1f1f1.svg)
 * [Better Anchor Links](https://wordpress.org/plugins/better-anchor-links/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/better-anchor-links/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/better-anchor-links/)
 * [Active Topics](https://wordpress.org/support/plugin/better-anchor-links/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/better-anchor-links/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/better-anchor-links/reviews/)

 * 7 replies
 * 6 participants
 * Last reply from: [drizzlyowl](https://wordpress.org/support/users/drizzlyowl/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/some-error-notices/#post-6138052)
 * Status: not resolved