• Resolved kingkrab

    (@kingkrab)


    Hi,
    I’m using 2smember and 2s member pro. Upon update of today’s v 201225 I got the WordPress “fatal critical warning”:

    I noticed this error on two sites that are running s2member/pro
    any advice on how to fix would be greatly appreciated.
    thanks

    WordPress version 5.6
    Current theme: Avalon (version 1.0)
    Current plugin: s2Member Framework (version 201225)
    PHP version 7.4.11

    Error Details
    An error of type E_COMPILE_ERROR was caused in line 31 of the file /home/wplive/web/wp-live/wp-content/plugins/s2member/src/vendor/composer/autoload_real.php. Error message: require_once(): Failed opening required ‘/home/wplive/web/wp-live/wp-content/plugins/s2member/src/vendor/composer/autoload_static.php’ (include_path=’.:/usr/share/php’)

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

    (@clavaque)

    Hi @kingkrab

    It was a glitch I had while uploading the new release to the WordPress repository, and although it only lasted a few minutes, I was afraid that someone would have downloaded it… I’m really sorry you got that difficulty.

    The upload was incomplete and missed that file, for some reason I don’t understand yet. After the upload, I did a test update and noticed that error message, so found the missing file and fixed the release. It’s complete and working now, I tested.

    You can delete the s2Member folder via FTP and reinstall it from WordPress via WP Admin’s plugins manager, or you can leave the folder there and just add via FTP the missing s2member/src/vendor/composer/autoload_static.php file. https://downloads.www.ads-software.com/plugin/s2member.201225.zip

    I hope that helps! Please let me know if you have any questions or need more help.

    Thread Starter kingkrab

    (@kingkrab)

    Thank you Cristián,

    A very easy fix. That will teach me a lesson not to work on Christmas. Thanks again.

    Plugin Author Cristián Lávaque

    (@clavaque)

    I’m very glad you could sort it out easily. Good job!

    I hope you had a wonderful Christmas! ??

    hi guys

    same issue !!
    do I do the same ?
    thks for your support.
    —————–
    Versión : 201225
    Warning: require_once(/var/www/vhosts/***********.com/httpdocs/wp-content/plugins/s2member/src/vendor/composer/autoload_static.php): failed to open stream: No such file or directory in /var/www/vhosts/*********.com/httpdocs/wp-content/plugins/s2member/src/vendor/composer/autoload_real.php on line 31

    solved uploading the zip.

    Plugin Author Cristián Lávaque

    (@clavaque)

    Great! ??

    Hello,

    I have the same issue with the latest update.

    Is there a way to solve the issue without FTP? I work primarily in the wordpress builder.

    I don’t want to lose any settings I have within S2M.

    you will be contacted by the author of the plugin, but it occurs to me that you can use a plugin to go back to the previous version and then upgrade. search for “wp roll back” or similar but better wait to the author ??

    Plugin Author Cristián Lávaque

    (@clavaque)

    Hi @tylwilson

    If you get that error, then it’s most likely that you can’t load WP Admin… You need to do it via FTP.

    You can just upload the missing file, and it’ll take care of it. Download the zip, extract the file in the error, and add it to your s2 folder via FTP. Then reload WP Admin and it should be fine.

    s2’s settings won’t be lost, especially if you had the s2 Deletion Safeguards enabled, which is the default. But even if the safeguard was disabled, you’re not deleting s2 via WP’s plugin manager.

    I hope that helps. ??

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘WordPress critical error with update to v 201225’ is closed to new replies.