• Resolved yitwail

    (@yitwail)


    I’m trying to add membership features to an older site. Because it states in the wordpress.org s2Member plugin page that it ‘Requires: 3.3 or higher’, I upgraded the site from WP 3.2.1 to 3.3. That went without a hitch, but then, when I tried to add a user in the admin, I got this error message:

    Fatal error: Call to undefined method WP_User::exists() in /home/domain_name/public_html/wp-content/plugins/s2member/includes/classes/access-cap-times.inc.php on line 61

    I looked up WP_User in the codex, and it shows that the exists() method exists since WP 3.4. Here’s the codex article: http://codex.wordpress.org/Class_Reference/WP_User#exists.28.29

    So now I have to upgrade the site to WP 3.4 perhaps. But before I do that, I want to be sure that WP 3.4 will be enough. Can a developer confirm that WP 3.4 will work, or does it have to be a more recent WP version?

    I know I can remove all doubt by upgrading to WP 3.9.1, but I cannot do that because it’s likely to break the theme.

    thanks

    https://wordpress.org/plugins/s2member/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter yitwail

    (@yitwail)

    Since no else did, I’ll follow up my own question. After updating the site in question to WP 3.4, s2member *seems* to work. That doesn’t guarantee it’s working in every area, of course, but since I established it doesn’t work with WP 3.3, it would be *nice* if the developers updated the plugin to say that it requires WP 3.4.

    I’m not marking this resolved yet, so developers still have a chance to respond to my comments.

    Thread Starter yitwail

    (@yitwail)

    Ok, I give up. Nobody wants to change Requires 3.3 or higher to 3.4 or higher. Might as well mark it resolved.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal error: Call to undefined method WP_User::exists()’ is closed to new replies.