Title: Deprecated Code error in Warm Cache plugin
Last modified: April 2, 2019

---

# Deprecated Code error in Warm Cache plugin

 *  Resolved [funsail](https://wordpress.org/support/users/funsail/)
 * (@funsail)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/code-error-25/)
 * After activating
 * <b>Notice</b>: 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 <b>/wp-includes/functions.php</b> on line <b>4115</b><br>
 * shows in the wp-admin side plugins menu
    -  This topic was modified 7 years, 1 month ago by [funsail](https://wordpress.org/support/users/funsail/).

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

 *  Thread Starter [funsail](https://wordpress.org/support/users/funsail/)
 * (@funsail)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/code-error-25/#post-11383233)
 * Also
 * Deprecated: Methods with the same name as their class will not be constructors
   in a future version of PHP; warm_cache has a deprecated constructor in /wp-content/
   plugins/warm-cache/warm-cache.php on line 48
 *  Thread Starter [funsail](https://wordpress.org/support/users/funsail/)
 * (@funsail)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/code-error-25/#post-11383239)
 * Also
 * Deprecated: Non-static method warm_cache::addPluginSubMenu_() should not be called
   statically in /wp-includes/class-wp-hook.php on line 286
 * At this point I have to ask, have you tested this?
 *  Thread Starter [funsail](https://wordpress.org/support/users/funsail/)
 * (@funsail)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/code-error-25/#post-11383253)
 * Seriously?
 * Non-static method mijnpress_plugin_framework::addPluginContent() should not be
   called statically
 *  Plugin Author [ramon fincken](https://wordpress.org/support/users/ramon-fincken/)
 * (@ramon-fincken)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/code-error-25/#post-11660193)
 * will be fixed in 3.0.0 today

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

The topic ‘Deprecated Code error in Warm Cache plugin’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/warm-cache.svg)
 * [Warm Cache](https://wordpress.org/plugins/warm-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/warm-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/warm-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/warm-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/warm-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/warm-cache/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [ramon fincken](https://wordpress.org/support/users/ramon-fincken/)
 * Last activity: [6 years, 10 months ago](https://wordpress.org/support/topic/code-error-25/#post-11660193)
 * Status: resolved