Membership Renewal Form Not Autopopulating

After the most recent S2 update, the membership renewal form is not auto populating the fields. Instead, all the fields are left blank. This will likely cause confusion and duplicate accounts. In the plugins, the Pro Add On wasn’t activated automatically, like its supposed to. Perhaps this is an issue … the problem persists when updated manually. Help and advice greatly appreciated.

An update: when I tried to edit the renewal page I received a critical error message from Wordpress. This was the error logged:

An error of type E_USER_ERROR was caused in line 212 of the file /var/www/vhosts/59/550674/webspace/httpdocs/wp-content/plugins/s2member/src/includes/classes/sc-if-conds-in.inc.php. Error message: s2If, malformed conditional [ !current_user_can(access_s2member_ccap_secondary_school_funded) AND ]

I inherited the site, who set up the plugin. This is over my head to be honest so any advice would be greatly appreciated.

Hi Humphrey,

In the plugins, the Pro Add On wasn’t activated automatically, like its supposed to.

The Pro add-on requires its version number to match the Framework’s to become active. So if you update the Framework, but not the Pro add-on, the pro features become inactive. This is easily fixed uploading the Pro version that matches the Framework you have. https://s2member.com/release-archive/

s2If, malformed conditional [ !current_user_can(access_s2member_ccap_secondary_school_funded) AND ]

What page are you getting this on? Go to its editor and look at the s2If conditional there. Could you show me what it is?

I recommend also reading this article: https://s2member.com/kb-article/s2if-simple-shortcode-conditionals/

:slight_smile:

The pro ad on is already the same version as the framework. Would it be advisable to delete the ad on and reinstall it (will it reinstall automatically?).

As for the condition … I actually can’t open the page to edit or even view the conditions as it causes the error.

HJ