Title: Non-static method
Last modified: March 23, 2017

---

# Non-static method

 *  Resolved [fixmilitaryrecords](https://wordpress.org/support/users/fixmilitaryrecords/)
 * (@fixmilitaryrecords)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/non-static-method-2/)
 * I get the following php error:
 * `Non-static method SimpleWpMembership::deactivate() should not be called statically`
   
   Type: PHP Deprecated Line: 298 File: /home/fixmilit/public_html/wp-includes/class-
   wp-hook.php

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

 *  Plugin Support [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/non-static-method-2/#post-8954358)
 * Thank you for reporting this. The plugin developers will investigate further.
 * Kind regards
 *  Plugin Author [wp.insider](https://wordpress.org/support/users/wpinsider-1/)
 * (@wpinsider-1)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/non-static-method-2/#post-8954583)
 * Thank you. I have fixed this in the new version v3.4.5

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

The topic ‘Non-static method’ is closed to new replies.

 * ![](https://ps.w.org/simple-membership/assets/icon-128x128.png?rev=974529)
 * [Simple Membership](https://wordpress.org/plugins/simple-membership/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-membership/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-membership/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-membership/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-membership/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-membership/reviews/)

## Tags

 * [class-wp-hook.php](https://wordpress.org/support/topic-tag/class-wp-hook-php/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * 2 replies
 * 3 participants
 * Last reply from: [wp.insider](https://wordpress.org/support/users/wpinsider-1/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/non-static-method-2/#post-8954583)
 * Status: resolved