-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugin could not be activated because it triggered a fatal error. #1244
Comments
Hi, |
Thanks @tdanella25 for the detailed report! That's an old issue from a couple years ago that has already been fixed. Please try updating s2Member Pro to a more recent release and see if you still have the problem. I look forward to your update. :) |
@pascalmoise Could you give me more details, please? Like the exact error message, the s2Member Pro version if you're using it, and any other details that could help me understand/reproduce your problem. Thanks! :) |
Hi,
Thanks for your reply
Last week situation was everything running fine with s2member framework and s2member pro with last update 240325
Site crashed some days ago with error 500 and s2member framework was the identified plugin that cause an error upon activation
All plugins are now deactivated and site is in maintenance mode
***@***.***
Unable to delete s2member framework plugin, error says
Échec de la suppression : Connexion perdue ou serveur occupé. Veuillez réessayer ultérieurement.
Unable to activate s2member framework, error says
L’extension n’a pas pu être activée, car elle a déclenché une erreur fatale.
Now when trying to reinstall s2member pro through wp dashboard, I have only the option to activate
***@***.***
Best regards
Pascal
De : Cristián Lávaque ***@***.***>
Envoyé : lundi 2 septembre 2024 00:20
À : wpsharks/s2member ***@***.***>
Cc : Pascal Moise ***@***.***>; Comment ***@***.***>
Objet : Re: [wpsharks/s2member] Plugin could not be activated because it triggered a fatal error. (Issue #1244)
Thanks for the detailed report!
That's an old issue from a couple years ago that has already been fixed. Please try updating s2Member Pro to a more recent release and see if you still have the problem.
I look forward to your update. :)
—
Reply to this email directly, view it on GitHub<https://url.emailprotection.link/?bBfKiQRKpKCvie8pTmiqfOJz8UF-eK4tP_xInA8DOV3qwRZvqtgSJoR_WqBUpC9GoQRytYWQUS1-FGoDxvBgj-nSJYJpmm71FMlkd_F0r5q_ipIiKSUId_Fx9nqCJWnEv>, or unsubscribe<https://url.emailprotection.link/?bzx71pLeHysk_ftTcWJ3AkchCY8aqs3HtohB_u0Yv2vUW3Xw_V7T5GtqOMW-a_YgdV0ugkGd20JvpTjAY_N_6pRmbhPSZnsViojTQY1Tn7hFsyMdEHFzdWhtaRArHzfgiUkYsCJh_PefA_q8nojVO4bvrkxcirMe--97A2Md18aHjIrf6qmDcWfhkHJG45ThKnTcKr_0QXw5UNQtH90xAd8lm89hHhScgSCBJw1tebhlm0Y0WHQ1TKypHm5mKkNHL>.
You are receiving this because you commented.Message ID: ***@***.***>
|
@tdanella25 It was issue in the code just provide space after the symbol ; in syscon.inc.php:137 |
@pascalmoise Please apply the same solution which provided to @tdanella25 |
@clavaque The issue appears after updating the plugin to latest version in every time, may i know why this issue appears? |
EXPLANATION OF THE ISSUE
New Version of Wordpress Version 6.6.1 Migrated the site to new host and updated wordpress to the latest version and tried to activate the plugins which all worked except this one.
STEPS TO REPRODUCE THE ISSUE
Install wordpress and this plugin and try and activate it.
BEHAVIOR THAT I EXPECTED
Critical Error or Fatal Error
BEHAVIOR THAT I OBSERVED
The error says it is s2members pro but it is the Select s2Member Framework plugin that will not activate
The error message you're seeing indicates a problem in the s2Member Pro plugin, specifically in the syscon.inc.php file at line 137. The issue is related to the usage of the sprintf() function, where it encounters an unknown format specifier ";".
Error being thrown:
Fatal error: Uncaught ValueError: Unknown format specifier ";" in /usr/local/lsws/deprogrammingseries.com/html/wp-content/plugins/s2member-pro/src/includes/syscon.inc.php:137 Stack trace: #0 /usr/local/lsws/deprogrammingseries.com/html/wp-content/plugins/s2member-pro/src/includes/syscon.inc.php(137): sprintf() #1 /usr/local/lsws/deprogrammingseries.com/html/wp-includes/class-wp-hook.php(324): ws_plugin__s2member_pro_default_options() #2 /usr/local/lsws/deprogrammingseries.com/html/wp-includes/plugin.php(205): WP_Hook->apply_filters() #3 /usr/local/lsws/deprogrammingseries.com/html/wp-content/plugins/s2member/src/includes/syscon.inc.php(356): apply_filters() #4 /usr/local/lsws/deprogrammingseries.com/html/wp-content/plugins/s2member/s2member.php(155): ws_plugin__s2member_configure_options_and_their_defaults() #5 /usr/local/lsws/deprogrammingseries.com/html/wp-admin/includes/plugin.php(2387): include_once('...') #6 /usr/local/lsws/deprogrammingseries.com/html/wp-admin/plugins.php(194): plugin_sandbox_scrape() #7 {main} thrown in /usr/local/lsws/deprogrammingseries.com/html/wp-content/plugins/s2member-pro/src/includes/syscon.inc.php on line 137
Here are my site health stats.
`
wp-core
version: 6.6.1
site_language: en_US
user_language: en_US
timezone: America/Indiana/Indianapolis
permalink: /%postname%/
https_status: true
multisite: false
user_registration: 0
blog_public: 1
default_comment_status: open
environment_type: production
user_count: 125
dotorg_communication: true
wp-paths-sizes
wordpress_path: /usr/local/lsws/deprogrammingseries.com/html
wordpress_size: loading...
uploads_path: /usr/local/lsws/deprogrammingseries.com/html/wp-content/uploads
uploads_size: loading...
themes_path: /usr/local/lsws/deprogrammingseries.com/html/wp-content/themes
themes_size: loading...
plugins_path: /usr/local/lsws/deprogrammingseries.com/html/wp-content/plugins
plugins_size: loading...
fonts_path: /usr/local/lsws/deprogrammingseries.com/html/wp-content/uploads/fonts
fonts_size: loading...
database_size: loading...
total_size: loading...
wp-active-theme
name: Deprogramming Series (Divi-child)
version: 1.0.0.1543705096
author: Matrix Solutions Network
author_website: https://matrixsolutionsnetwork.com
parent_theme: Divi (Divi)
theme_features: core-block-patterns, widgets-block-editor, block-templates, custom-background, automatic-feed-links, post-thumbnails, menus, title-tag, post-formats, woocommerce, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider, customize-selective-refresh-widgets, wp-block-styles, editor-style, widgets
theme_path: /usr/local/lsws/deprogrammingseries.com/html/wp-content/themes/Divi-child
auto_update: Disabled
wp-parent-theme
name: Divi (Divi)
version: 4.27.1
author: Elegant Themes
author_website: http://www.elegantthemes.com
theme_path: /usr/local/lsws/deprogrammingseries.com/html/wp-content/themes/Divi
auto_update: Disabled
wp-themes-inactive (1)
Twenty Twenty-Four: version: 1.2, author: the WordPress team, Auto-updates disabled
wp-plugins-active (9)
Classic Editor: version: 1.6.4, author: WordPress Contributors, Auto-updates disabled
Classic Widgets: version: 0.3, author: WordPress Contributors, Auto-updates disabled
DreamHost Panel Login: version: 1.0.0, author: DreamHost, danielbachhuber, Auto-updates disabled
KCSG Kartra Pages: version: 1.0.19, author: Brian Katzung, Kappa Computer Solutions, LLC [email protected], Auto-updates disabled
LiteSpeed Cache: version: 6.4.1, author: LiteSpeed Technologies, Auto-updates disabled
Nav Menu Roles: version: 2.1.2, author: Kathy Darling, Auto-updates disabled
s2Member Pro: version: 210526, author: WP Sharks, Auto-updates disabled
SmartVideo: version: 2.1.1, author: Swarmify, Auto-updates disabled
UpdraftPlus - Backup/Restore: version: 2.24.4.0, author: UpdraftPlus.Com, DavidAnderson, Auto-updates enabled
wp-plugins-inactive (3)
s2Member Framework: version: 240325, author: WP Sharks, Auto-updates disabled
WP Fusion Lite: version: 3.44.1, author: Very Good Plugins, Auto-updates disabled
YYDevelopment - Show Pages ID: version: 1.5.5, author: YYDevelopment, Auto-updates disabled
wp-media
image_editor: WP_Image_Editor_Imagick
imagick_module_version: 1692
imagemagick_version: ImageMagick 6.9.12-98 Q16 x86_64 18038 https://legacy.imagemagick.org
imagick_version: 3.7.0
file_uploads: 1
post_max_size: 256M
upload_max_filesize: 256M
max_effective_size: 256 MB
max_file_uploads: 20
imagick_limits:
imagick::RESOURCETYPE_AREA: 244 MB
imagick::RESOURCETYPE_DISK: 2147483648
imagick::RESOURCETYPE_FILE: 37500
imagick::RESOURCETYPE_MAP: 2 GB
imagick::RESOURCETYPE_MEMORY: 1 GB
imagick::RESOURCETYPE_THREAD: 1
imagick::RESOURCETYPE_TIME: 9.2233720368548E+18
imagemagick_file_formats: 3FR, 3G2, 3GP, AAI, AI, APNG, ART, ARW, AVI, AVIF, AVS, BGR, BGRA, BGRO, BIE, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CR3, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS, DFONT, DNG, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, FAX, FILE, FITS, FLV, FRACTAL, FTP, FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, H, HALD, HDR, HEIC, HEIF, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, J2C, J2K, JBG, JBIG, JNG, JNX, JP2, JPC, JPE, JPEG, JPG, JPM, JPS, JPT, JSON, K25, KDC, LABEL, M2V, M4V, MAC, MAGICK, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, POCKETMOD, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIDEO, VIFF, VIPS, VST, WBMP, WEBM, WEBP, WMV, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUV
gd_version: bundled (2.1.0 compatible)
gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM
ghostscript_version: 10.02.1
wp-server
server_architecture: Linux 6.8.0-41-generic x86_64
httpd_software: LiteSpeed
php_version: 8.1.29 64bit
php_sapi: litespeed
max_input_variables: 1000
time_limit: 300
memory_limit: 512M
max_input_time: 60
upload_max_filesize: 256M
php_post_max_size: 256M
curl_version: 8.5.0 OpenSSL/3.0.13
suhosin: false
imagick_availability: true
pretty_permalinks: true
htaccess_extra_rules: true
current: 2024-08-23T00:00:29+00:00
utc-time: Friday, 23-Aug-24 00:00:29 UTC
server-time: 2024-08-22T20:00:29-04:00
wp-database
extension: mysqli
server_version: 10.11.8-MariaDB-0ubuntu0.24.04.1
client_version: mysqlnd 8.1.29
max_allowed_packet: 16777216
max_connections: 151
wp-constants
WP_HOME: undefined
WP_SITEURL: undefined
WP_CONTENT_DIR: /usr/local/lsws/deprogrammingseries.com/html/wp-content
WP_PLUGIN_DIR: /usr/local/lsws/deprogrammingseries.com/html/wp-content/plugins
WP_MEMORY_LIMIT: 64M
WP_MAX_MEMORY_LIMIT: 512M
WP_DEBUG: false
WP_DEBUG_DISPLAY: true
WP_DEBUG_LOG: false
SCRIPT_DEBUG: false
WP_CACHE: true
CONCATENATE_SCRIPTS: undefined
COMPRESS_SCRIPTS: undefined
COMPRESS_CSS: undefined
WP_ENVIRONMENT_TYPE: Undefined
WP_DEVELOPMENT_MODE: undefined
DB_CHARSET: utf8
DB_COLLATE: undefined
wp-filesystem
wordpress: writable
wp-content: writable
uploads: writable
plugins: writable
themes: writable
fonts: not writable
`
The text was updated successfully, but these errors were encountered: