Title: [Plugin: Custom Permalinks] PHP warning when in debug mode
Last modified: August 20, 2016

---

# [Plugin: Custom Permalinks] PHP warning when in debug mode

 *  [eriksan1](https://wordpress.org/support/users/eriksan1/)
 * (@eriksan1)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-custom-permalinks-php-warning-when-in-debug-mode/)
 * The pluin technically works, but I get a php notice and warning on page/post 
   update/publish (I’m in debug mode, otherwise it’s fine):
 * (Translated:)
 * Notice: has_cap was called with an argument that was depricated since version
   2.0! Support for user levels via plugins and themes is no longer available. use
   roles and role management instead. in /path/to/wp-includes/functions.php on line
   3551
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/u/u7440821/www/nywww/wp-includes/functions.php:3551) in /home/u/u7440821/
   www/nywww/wp-includes/pluggable.php on line 866
 * [http://wordpress.org/extend/plugins/custom-permalinks/](http://wordpress.org/extend/plugins/custom-permalinks/)

The topic ‘[Plugin: Custom Permalinks] PHP warning when in debug mode’ is closed
to new replies.

 * ![](https://ps.w.org/custom-permalinks/assets/icon.svg?rev=1785367)
 * [Custom Permalinks](https://wordpress.org/plugins/custom-permalinks/)
 * [Support Threads](https://wordpress.org/support/plugin/custom-permalinks/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-permalinks/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-permalinks/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-permalinks/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [eriksan1](https://wordpress.org/support/users/eriksan1/)
 * Last activity: [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-custom-permalinks-php-warning-when-in-debug-mode/)
 * Status: not resolved