• 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://ww.wp.xz.cn/plugins/s2member/

Viewing 5 replies - 1 through 5 (of 5 total)
  • 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

    (@steveleblanc)

    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.

    Good thinking!

    I am wondering if it’s related to this issue, 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

    (@steveleblanc)

    WordPress 4.0 has been buggy. However,

    I installed the plugin https://ww.wp.xz.cn/plugins/quotmarks-replacer/

    I also created the wp-bug-fix.php and aded it to the site

    but no change.

    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.