Title: Fatal error: Cannot call method self::
Last modified: August 22, 2016

---

# Fatal error: Cannot call method self::

 *  [steveleblanc](https://wordpress.org/support/users/steveleblanc/)
 * (@steveleblanc)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-cannot-call-method-self/)
 * When creating a page on my website and using any type of s2Drip shortcode for
   s2member I get the following error
 * Fatal error: Cannot call method self::_user_can_access_drip_cb() or method does
   not exist in /home/mywebsite/public_html/wp-content/plugins/s2member-pro/includes/
   classes/user-drip-access.inc.php on line 127
 * I checked the file user-drip-access.inc.php on my server and the function is 
   there.
 * I can get this to work [s2If php=”S2MEMBER_CURRENT_USER_PAID_REGISTRATION_DAYS
   >= 30″]
    Drip content to Members that started paying you at least 30 days ago.[/
   s2If]
 * but I cannot get anything like this to work
 * [s2Drip access=”level1″ from_day=”4″]
    Some content for Members at Level 1 (or
   higher).
 *  This content will show only after day 3 of their paid membership.
    ~ i.e. it
   starts showing on day 4.
 *  It will continue to be shown every day thereafter.
    [/s2Drip]
 * [https://wordpress.org/plugins/s2member/](https://wordpress.org/plugins/s2member/)

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

 *  [KTS915](https://wordpress.org/support/users/kts915/)
 * (@kts915)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-cannot-call-method-self/#post-5490794)
 * I’ve seen this in a number of plugins since WordPress 4.0 came out. I don’t know
   what the fix is but, since you obviously have the Pro version, you should contact
   Pro support at s2member.com/contact
 *  Thread Starter [steveleblanc](https://wordpress.org/support/users/steveleblanc/)
 * (@steveleblanc)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-cannot-call-method-self/#post-5490803)
 * Thanks for the reply. I have contacted Pro support and my hosting company to 
   check permissions in order to rule that out.
 * I went through all the troubleshooting possibilities, themes, plugins etc with
   no success.
 * In the mean time I wanted to put it out here to see if anyone has come across
   this.
 *  [KTS915](https://wordpress.org/support/users/kts915/)
 * (@kts915)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-cannot-call-method-self/#post-5490806)
 * Good thinking!
 * I am wondering if it’s related to [this issue](https://github.com/websharks/s2member/issues/349),
   which suggests that there is, indeed, a bug in the latest version of WordPress
   itself.
 * If so, maybe Jason’s workaround there will work for you.
 *  Thread Starter [steveleblanc](https://wordpress.org/support/users/steveleblanc/)
 * (@steveleblanc)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-cannot-call-method-self/#post-5490812)
 * WordPress 4.0 has been buggy. However,
 * I installed the plugin [https://wordpress.org/plugins/quotmarks-replacer/](https://wordpress.org/plugins/quotmarks-replacer/)
 * I also created the wp-bug-fix.php and aded it to the site
 * but no change.
 *  [KTS915](https://wordpress.org/support/users/kts915/)
 * (@kts915)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-cannot-call-method-self/#post-5490816)
 * That’s a pity!

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

The topic ‘Fatal error: Cannot call method self::’ is closed to new replies.

 * ![](https://ps.w.org/s2member/assets/icon-256x256.png?rev=980067)
 * [s2Member – Excellent for All Kinds of Memberships, Content Restriction Paywalls & Member Access Subscriptions](https://wordpress.org/plugins/s2member/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/s2member/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/s2member/)
 * [Active Topics](https://wordpress.org/support/plugin/s2member/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/s2member/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/s2member/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [KTS915](https://wordpress.org/support/users/kts915/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-cannot-call-method-self/#post-5490816)
 * Status: not resolved