Title: Problem with php warnings
Last modified: September 7, 2020

---

# Problem with php warnings

 *  Resolved [developer32](https://wordpress.org/support/users/developer32/)
 * (@developer32)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/problem-with-php-warnings/)
 * Hello and thank you for your plugin. I get a lot of php warnings:
    Non-static
   method mijnpress_plugin_framework::is_admin() should not be called statically
   WP_User->id was called with an argument that is deprecated since version 2.1.0!
   Use WP_User->ID instead plugin_auto_prune_posts::addPluginSubMenu_() should not
   be called statically Deprecated: has_cap was called with an argument that is 
   deprecated since version 2.0.0! Usage of user levels is deprecated.

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

 *  [DODO Internet](https://wordpress.org/support/users/studioviv/)
 * (@studioviv)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/problem-with-php-warnings/#post-13731087)
 * I also get this messages. Is there a fix for this problem?
 *  Plugin Author [ramon fincken](https://wordpress.org/support/users/ramon-fincken/)
 * (@ramon-fincken)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/problem-with-php-warnings/#post-14287582)
 * see [https://wordpress.org/support/topic/error-msg-11/](https://wordpress.org/support/topic/error-msg-11/)

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

The topic ‘Problem with php warnings’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/auto-prune-posts.svg)
 * [Auto Prune Posts](https://wordpress.org/plugins/auto-prune-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/auto-prune-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/auto-prune-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/auto-prune-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/auto-prune-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/auto-prune-posts/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [ramon fincken](https://wordpress.org/support/users/ramon-fincken/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/problem-with-php-warnings/#post-14287582)
 * Status: resolved