• Resolved johnpegase

    (@johnpegase)


    We had a problem when the site crashed, and deactivated all plugins, then reinstalled them. When I tried to start the S2 member framework, WP called up a fatal error and stopped it. Version 221103. WP V6.1.1

    Fatal error: Uncaught ValueError: Unknown format specifier ";" in /www/webvol34/hy/dzvub4d93pbulkf/isdrs.org/public_html/wp-content/plugins/s2member-pro/src/includes/syscon.inc.php:137 Stack trace: #0 /www/webvol34/hy/dzvub4d93pbulkf/isdrs.org/public_html/wp-content/plugins/s2member-pro/src/includes/syscon.inc.php(137): sprintf('<div><small sty...', 'isdrs.org') #1 /www/webvol34/hy/dzvub4d93pbulkf/isdrs.org/public_html/wp-includes/class-wp-hook.php(308): ws_plugin__s2member_pro_default_options(Array) #2 /www/webvol34/hy/dzvub4d93pbulkf/isdrs.org/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array) #3 /www/webvol34/hy/dzvub4d93pbulkf/isdrs.org/public_html/wp-content/plugins/s2member/src/includes/syscon.inc.php(355): apply_filters('ws_plugin__s2me...', Array) #4 /www/webvol34/hy/dzvub4d93pbulkf/isdrs.org/public_html/wp-content/plugins/s2member/s2member.php(155): ws_plugin__s2member_configure_options_and_their_defaults() #5 /www/webvol34/hy/dzvub4d93pbulkf/isdrs.org/public_html/wp-admin/includes/plugin.php(2314): include_once('/www/webvol34/h...') #6 /www/webvol34/hy/dzvub4d93pbulkf/isdrs.org/public_html/wp-admin/plugins.php(192): plugin_sandbox_scrape('s2member/s2memb...') #7 {main} thrown in /www/webvol34/hy/dzvub4d93pbulkf/isdrs.org/public_html/wp-content/plugins/s2member-pro/src/includes/syscon.inc.php on line 137

    S2member has worked for several years but recently started acting up, and when the host did a forced update to PHP 8.1 and things went badly wrong. Tried PHP 8.0 as well. So we are stuck with the Pro version not working of course.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Cristián Lávaque

    (@clavaque)

    Hi John,

    Thanks for reporting that with the details.

    That error is about a line that was fixed for PHP8 several releases ago. Are you positive you have the latest release? Maybe you have the Framework at v221103, but the Pro add-on at an older version. I recommend that you re-download and re-install s2Member Framework and Pro v221103. https://s2member.com/account/

    Let me know how it goes. 🙂

    Thread Starter johnpegase

    (@johnpegase)

    Hi Cristian
    Can I install the latest Pro version over the older version of Pro v 210526 without overrighting any of the existing memberships or groups, and payment status? Or is it a folder by folder, file by file replacement by FTP?
    There are a thousand plus members of a science society and although about 90% are on the free level, it might annoy the small group who pay to support the society if we lost records of their payments and asked for payment again.
    (I am just about to leave for a weekend away, so I can’t do anything until Monday at the earliest.)

    Plugin Author Cristián Lávaque

    (@clavaque)

    You can just install the newer version of the add-on (currently at v221103).

    You can do it via FTP if you want, but you can use the plugins installer. WP Admin > Plugins > Add New > Upload

    The options in your configuration shouldn’t be changed, you’re just updating the files, it shouldn’t change your database.

    Records of the payments are kept by your payment gateway, so that’s outside of the WordPress installation, and is even less likely to be affected.

    If updating a plugin worries you, you can always do a backup before making changes to your site (it’s good practice), so you have something to go back to if anything went wrong.

    🙂

    Thread Starter johnpegase

    (@johnpegase)

    Thanks for confirming that. I’m not nervous about updating plug-ins, but the people in charge do worry about things and asked me to check. Especially after the auto update of the Pro version stopped, leaving us on an old version and the webhosts changing the PHP version with no rollback option except during the first month, which crashed the site.
    Reinstalled the PRO and it appears to be working now.
    So thanks again for your help.

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

The topic ‘S2 Framework crashed now cant activate it’ is closed to new replies.