Critical Error
-
Latest versions of WP and and the few plugins I have active are causing a critical error. Could use some help
-
Hi, could you please send me the error message? Additionally I need the following details:
– php version
– installed plugins
– active theme
Does the problem also occur when you change the theme or deactivate individual plugins?
Please excuse the problems, I will do my best to help you fix it.[09-Jun-2022 05:36:39 UTC] PHP Warning: sprintf(): Argument number must be greater than zero in /home/charl193/public_html/wp-content/plugins/wc-donation-platform/includes/integrations/woocommerce-subscriptions/templates/emails/admin-payment-retry.php on line 23
That appears to be the culprit. It appears a recent update, somehow, somewhere, caused the issue, because the plugin has always worked fine
### wp-core ### version: 6.0 site_language: en_US user_language: en_US timezone: America/Chicago permalink: /%category%/%postname%/ https_status: true multisite: true user_registration: true blog_public: 1 default_comment_status: open environment_type: production site_count: 3 network_count: 1 user_count: 15479 dotorg_communication: true ### wp-active-theme ### name: Charlemagne Institute (Divi-child) version: 1.0.1648481377 author: Jeromy Darling author_website: (undefined) parent_theme: Divi (Divi) theme_features: core-block-patterns, block-templates, widgets-block-editor, post-thumbnails, custom-background, automatic-feed-links, 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: /home/charl193/public_html/wp-content/themes/Divi-child auto_update: Disabled ### wp-parent-theme ### name: Divi (Divi) version: 4.17.4 author: Elegant Themes author_website: http://www.elegantthemes.com theme_path: /home/charl193/public_html/wp-content/themes/Divi auto_update: Disabled ### wp-mu-plugins (1) ### Health Check Troubleshooting Mode: author: (undefined), version: 1.7.2 ### wp-plugins-active (56) ### 301 Redirects Pro: version: 5.99, author: WebFactory Ltd, Auto-updates disabled Akismet Anti-Spam: version: 4.2.4, author: Automattic, Auto-updates disabled Authors List: version: 1.2.7, author: WPKube, Auto-updates disabled Auto Upload Images: version: 3.3, author: Ali Irani, Auto-updates disabled Awesome Support: version: 6.1.0, author: Awesome Support Team, Auto-updates disabled Awesome Support: Guest Tickets: version: 2.1.1, author: Awesome Support, Auto-updates disabled Awesome Support: Issue Tracking: version: 1.1.2, author: Awesome Support Team, Auto-updates disabled Awesome Support: Notifications: version: 2.1.0, author: The Awesome Support Team, Auto-updates disabled Awesome Support: Reports And Statistics: version: 1.3.1, author: Awesome Support, Auto-updates disabled Awesome Support: Satisfaction Survey: version: 1.0.8, author: Awesome Support, Auto-updates disabled Better Search Replace: version: 1.4, author: Delicious Brains, Auto-updates disabled Booster Elite for WooCommerce: version: 1.1.1, author: Pluggabl LLC, Auto-updates disabled Child Theme Configurator: version: 2.5.9, author: Lilaea Media, Auto-updates disabled Classic Widgets: version: 0.3, author: WordPress Contributors, Auto-updates disabled Cloudflare: version: 4.10.1, author: Cloudflare, Inc., Auto-updates disabled Error Log Viewer by BestWebSoft: version: 1.1.2, author: BestWebSoft, Auto-updates disabled FluentCRM - Marketing Automation For WordPress: version: 2.5.91, author: Newsletter Team by Fluent CRM (latest version: 2.5.93), Auto-updates disabled FluentCRM Pro: version: 2.5.91, author: Fluent CRM (latest version: 2.5.93), Auto-updates disabled Fluent Forms: version: 4.3.8, author: Contact Form - WPManageNinja LLC (latest version: 4.3.9), Auto-updates disabled FluentSMTP: version: 2.1.1, author: FluentSMTP & WPManageNinja Team (latest version: 2.1.2), Auto-updates disabled Instant Indexing: version: 1.1.16, author: Rank Math, Auto-updates disabled Metorik Helper: version: 1.5.2, author: Metorik, Auto-updates disabled MonsterInsights - Dimensions Addon: version: 2.0.4, author: MonsterInsights Team, Auto-updates disabled MonsterInsights - eCommerce Addon: version: 8.3.4, author: MonsterInsights Team, Auto-updates disabled MonsterInsights - Forms Tracking Addon: version: 2.2.3, author: MonsterInsights Team, Auto-updates disabled MonsterInsights - Google Optimize Addon: version: 1.5.0, author: MonsterInsights Team, Auto-updates disabled MonsterInsights - Page Insights Addon: version: 1.5.0, author: MonsterInsights Team, Auto-updates disabled MonsterInsights Pro: version: 8.6.0, author: MonsterInsights, Auto-updates disabled Profile Builder: version: 3.7.6, author: Cozmoslabs, Auto-updates disabled Profile Builder Pro: version: 3.7.6, author: Cozmoslabs, Auto-updates disabled Rank Math SEO: version: 1.0.92.1, author: Rank Math, Auto-updates disabled Rank Math SEO PRO: version: 3.0.15, author: Rank Math (latest version: 3.0.15.1), Auto-updates disabled Redirections by Rank Math: version: 1.0.2, author: Rank Math, Auto-updates disabled Simple History: version: 3.3.0, author: Pär Thernström, Auto-updates disabled User Role Editor: version: 4.62, author: Vladimir Garagulya, Auto-updates disabled User Switching: version: 1.6.0, author: John Blackbourn & contributors, Auto-updates disabled Wealth Engine: version: 1.0.2, author: CubixSol, Auto-updates disabled WooCommerce: version: 6.6.1, author: Automattic, Auto-updates disabled WooCommerce Customer/Order/Coupon CSV Import Suite: version: 3.10.2, author: SkyVerge, Auto-updates disabled WooCommerce Manual Payment: version: 2.6.11, author: bfl, Auto-updates disabled WooCommerce Memberships: version: 1.23.0, author: SkyVerge, Auto-updates disabled WooCommerce Order Status Control: version: 1.14.0, author: SkyVerge, Auto-updates disabled WooCommerce PDF Invoices & Packing Slips: version: 2.16.0, author: WP Overnight (latest version: 3.0.0), Auto-updates disabled WooCommerce Stripe Gateway: version: 6.4.2, author: WooCommerce (latest version: 6.4.3), Auto-updates disabled WooCommerce Subscriptions: version: 4.4.0, author: WooCommerce, Auto-updates disabled WooCommerce Subscriptions Gifting: version: 2.4.0, author: WooCommerce, Auto-updates disabled Wordfence Assistant: version: 1.0.9, author: Wordfence, Auto-updates disabled Wordfence Security: version: 7.5.11, author: Wordfence, Auto-updates disabled WordPress Multisite User Sync/Unsync: version: 1.3.0, author: Obtain Infotech, Auto-updates disabled WP Crontrol: version: 1.12.1, author: John Blackbourn & crontributors, Auto-updates disabled WP Fusion: version: 3.40.11, author: Very Good Plugins (latest version: 3.40.12), Auto-updates disabled WP Fusion - Abandoned Cart Addon: version: 1.7.2, author: Very Good Plugins, Auto-updates disabled WP Fusion - Logins Addon: version: 1.2.5, author: Very Good Plugins, Auto-updates disabled WP Fusion - Media Tools Addon: version: 1.2.3, author: Very Good Plugins, Auto-updates disabled WP Fusion - Webhooks Addon: version: 1.3.1, author: Very Good Plugins, Auto-updates disabled Yoast Duplicate Post: version: 4.5, author: Enrico Battocchi & Team Yoast, Auto-updates disabled ### wp-media ### image_editor: WP_Image_Editor_Imagick imagick_module_version: 1690 imagemagick_version: ImageMagick 6.9.10-68 Q16 x86_64 2021-10-14 https://imagemagick.org imagick_version: 3.7.0 file_uploads: File uploads is turned off post_max_size: 1024M upload_max_filesize: 1024M max_effective_size: 1 GB max_file_uploads: 200,000 imagick_limits: imagick::RESOURCETYPE_AREA: 24 GB imagick::RESOURCETYPE_DISK: 9.2233720368548E+18 imagick::RESOURCETYPE_FILE: 786432 imagick::RESOURCETYPE_MAP: 24 GB imagick::RESOURCETYPE_MEMORY: 12 GB imagick::RESOURCETYPE_THREAD: 1 imagemagick_file_formats: 3FR, 3G2, 3GP, AAI, AI, ART, ARW, AVI, AVS, BGR, BGRA, BGRO, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS, DFONT, DNG, DOT, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FAX, FILE, FITS, FRACTAL, FTP, FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, GV, H, HALD, HDR, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, J2C, J2K, 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, MSVG, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, 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, 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, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIFF, VIPS, VST, WBMP, WMF, WMV, WMZ, 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: unknown ### wp-server ### server_architecture: Linux 3.10.0-1160.21.1.vz7.174.13 x86_64 httpd_software: Apache php_version: 7.4.30 64bit php_sapi: fpm-fcgi max_input_variables: 5000 time_limit: -1 memory_limit: -1 admin_memory_limit: 2048M max_input_time: 90 upload_max_filesize: 1024M php_post_max_size: 1024M curl_version: 7.84.0 OpenSSL/1.1.1q suhosin: false imagick_availability: true pretty_permalinks: true htaccess_extra_rules: true ### wp-database ### extension: mysqli server_version: 10.3.35-MariaDB client_version: mysqlnd 7.4.30 max_allowed_packet: 268435456 max_connections: 150 ### wp-constants ### WP_HOME: undefined WP_SITEURL: undefined WP_CONTENT_DIR: /home/charl193/public_html/wp-content WP_PLUGIN_DIR: /home/charl193/public_html/wp-content/plugins WP_MEMORY_LIMIT: 1280M WP_MAX_MEMORY_LIMIT: 2048M WP_DEBUG: true WP_DEBUG_DISPLAY: false WP_DEBUG_LOG: true SCRIPT_DEBUG: false WP_CACHE: false CONCATENATE_SCRIPTS: undefined COMPRESS_SCRIPTS: undefined COMPRESS_CSS: undefined WP_ENVIRONMENT_TYPE: Undefined DB_CHARSET: utf8 DB_COLLATE: undefined ### wp-filesystem ### wordpress: writable wp-content: writable uploads: writable plugins: writable themes: writable mu-plugins: writableHi,
thanks for your reply.
I’ve checked the PHP warning. In fact, a small bug has crept into line 23 of the admin-payment-retry template. The error is triggered when an automatic payment could not be processed and a corresponding mail is sent to the website admin. Since it is a php warning and not a critical error, the only effect is that the mail to the admin does not contain the following sentence: “The automatic recurring payment for donation #[ID] from [donor] has failed. The payment will be retried in [x hours].”
Please excuse the bug, with the next update it will be fixed (see commit #4c5263b)
The topic ‘Critical Error’ is closed to new replies.