Woocommerce subscription payment error
-
Namecheap support message
Hi there, the other day my website crashed when I updated the woocommerce plugin. I could not load the wp-admin panel, and had to deactivate all plugins via FTP. Almost all the plugins are working again, but this error popped up when a subscription renewed today:
An error has occurred while processing a recent subscription related event. For steps on how to fix the affected subscription and to learn more about the possible causes of this error, please read our guide here. Affected event: subscription payment for #2118 To see further details about these errors, view the failed-scheduled-actions log file from the WooCommerce logs screen.
—
I’m also seeing these error messages in my error log file:
[02-Jan-2022 06:39:20 UTC] PHP Warning: Use of undefined constant WC_VERSION - assumed 'WC_VERSION' (this will throw an Error in a future version of PHP) in /home/tocroc/public_html/bloomsubscription.com/wp-content/plugins/woocommerce-subscriptions/includes/class-wcs-dependent-hook-manager.php on line 51 [02-Jan-2022 06:39:20 UTC] PHP Fatal error: Uncaught Error: Class 'WC_Logger' not found in /home/tocroc/public_html/bloomsubscription.com/wp-content/plugins/woocommerce-subscriptions/woocommerce-subscriptions.php:858 Stack trace: #0 /home/tocroc/public_html/bloomsubscription.com/wp-includes/class-wp-hook.php(303): WC_Subscriptions::load_dependant_classes('') #1 /home/tocroc/public_html/bloomsubscription.com/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array) #2 /home/tocroc/public_html/bloomsubscription.com/wp-includes/plugin.php(470): WP_Hook->do_action(Array) #3 /home/tocroc/public_html/bloomsubscription.com/wp-settings.php(441): do_action('plugins_loaded') #4 /home/tocroc/public_html/bloomsubscription.com/wp-config.php(103): require_once('/home/tocroc/pu...') #5 /home/tocroc/public_html/bloomsubscription.com/wp-load.php(50): require_once('/home/tocroc/pu...') #6 /home/tocroc/public_html/bloomsubscription.com/wp-login.php(12): require('/home/tocroc/pu...') #7 {main} thrown in /home/tocroc/public_html/bloomsubscription.com/wp-content/plugins/woocommerce-subscriptions/woocommerce-subscriptions.php on line 858
—
Here is my WooCommerce status report:
### WordPress Environment ### WordPress address (URL): https://bloomsubscription.com Site address (URL): https://bloomsubscription.com WC Version: 6.0.0 REST API Version: ? 6.0.0 WC Blocks Version: ? 6.3.3 Action Scheduler Version: ? 3.3.0 WC Admin Version: ? 2.9.4 Log Directory Writable: ? WP Version: 5.8.2 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: ? WP Cron: ? Language: en_US External object cache: – ### Server Environment ### Server Info: LiteSpeed PHP Version: 8.1.1 PHP Post Max Size: 64 MB PHP Time Limit: 300 PHP Max Input Vars: 2000 cURL Version: 7.71.0 OpenSSL/1.1.1d SUHOSIN Installed: – MySQL Version: 10.3.32-MariaDB-log-cll-lve Max Upload Size: 64 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 6.0.0 WC Database Prefix: wpun_ Total Database Size: 136.92MB Database Data Size: 124.88MB Database Index Size: 12.04MB wpun_woocommerce_sessions: Data: 0.07MB + Index: 0.00MB + Engine MyISAM wpun_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpun_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpun_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpun_woocommerce_order_items: Data: 0.38MB + Index: 0.19MB + Engine MyISAM wpun_woocommerce_order_itemmeta: Data: 2.30MB + Index: 1.58MB + Engine MyISAM wpun_woocommerce_tax_rates: Data: 0.01MB + Index: 0.02MB + Engine MyISAM wpun_woocommerce_tax_rate_locations: Data: 0.01MB + Index: 0.02MB + Engine MyISAM wpun_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpun_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpun_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpun_woocommerce_payment_tokens: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wpun_woocommerce_payment_tokenmeta: Data: 0.03MB + Index: 0.04MB + Engine MyISAM wpun_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpun_actionscheduler_actions: Data: 0.69MB + Index: 0.23MB + Engine MyISAM wpun_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpun_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpun_actionscheduler_logs: Data: 0.38MB + Index: 0.28MB + Engine MyISAM wpun_bv_fw_requests: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpun_bv_ip_store: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpun_bv_lp_requests: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpun_cf_forms: Data: 1.00MB + Index: 0.00MB + Engine MyISAM wpun_cf_form_entries: Data: 0.18MB + Index: 0.18MB + Engine MyISAM wpun_cf_form_entry_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpun_cf_form_entry_values: Data: 0.39MB + Index: 0.18MB + Engine MyISAM wpun_cf_pro_messages: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpun_cf_queue_failures: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpun_cf_queue_jobs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpun_cf_tracking: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpun_cf_tracking_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpun_commentmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpun_comments: Data: 2.35MB + Index: 0.92MB + Engine MyISAM wpun_e_submissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpun_e_submissions_actions_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpun_e_submissions_values: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpun_fullstripe_checkout_forms: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpun_fullstripe_patch_info: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpun_fullstripe_payments: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpun_fullstripe_payment_forms: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpun_fullstripe_subscribers: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpun_fullstripe_subscription_forms: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpun_imagify_files: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpun_imagify_folders: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpun_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpun_litespeed_url: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpun_litespeed_url_file: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpun_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine MyISAM wpun_mailchimp_jobs: Data: 0.42MB + Index: 0.01MB + Engine MyISAM wpun_nf3_actions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpun_nf3_action_meta: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wpun_nf3_chunks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpun_nf3_fields: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpun_nf3_field_meta: Data: 0.02MB + Index: 0.00MB + Engine MyISAM wpun_nf3_forms: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpun_nf3_form_meta: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wpun_nf3_objects: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpun_nf3_object_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpun_nf3_relationships: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpun_nf3_upgrades: Data: 0.02MB + Index: 0.00MB + Engine MyISAM wpun_ngg_album: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpun_ngg_gallery: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpun_ngg_imagify_data: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpun_ngg_pictures: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpun_optins: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpun_optin_meta: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wpun_options: Data: 3.13MB + Index: 0.11MB + Engine MyISAM wpun_postmeta: Data: 36.55MB + Index: 4.63MB + Engine MyISAM wpun_posts: Data: 22.98MB + Index: 0.31MB + Engine MyISAM wpun_snippets: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpun_sp_email_logs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpun_termmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpun_terms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpun_term_relationships: Data: 0.01MB + Index: 0.02MB + Engine MyISAM wpun_term_taxonomy: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpun_usermeta: Data: 1.82MB + Index: 1.01MB + Engine MyISAM wpun_users: Data: 0.11MB + Index: 0.09MB + Engine MyISAM wpun_wc_admin_notes: Data: 0.03MB + Index: 0.00MB + Engine MyISAM wpun_wc_admin_note_actions: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wpun_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpun_wc_customer_lookup: Data: 0.09MB + Index: 0.07MB + Engine MyISAM wpun_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpun_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpun_wc_order_product_lookup: Data: 0.20MB + Index: 0.15MB + Engine MyISAM wpun_wc_order_stats: Data: 0.15MB + Index: 0.10MB + Engine MyISAM wpun_wc_order_tax_lookup: Data: 0.09MB + Index: 0.10MB + Engine MyISAM wpun_wc_product_meta_lookup: Data: 0.01MB + Index: 0.03MB + Engine MyISAM wpun_wc_rate_limits: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpun_wc_reserved_stock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpun_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpun_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpun_wfblockediplog: Data: 0.12MB + Index: 0.06MB + Engine MyISAM wpun_wfblocks7: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpun_wfconfig: Data: 0.42MB + Index: 0.01MB + Engine MyISAM wpun_wfcrawlers: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpun_wffilechanges: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpun_wffilemods: Data: 5.13MB + Index: 0.71MB + Engine MyISAM wpun_wfhits: Data: 0.65MB + Index: 0.10MB + Engine MyISAM wpun_wfhoover: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpun_wfissues: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wpun_wfknownfilelist: Data: 2.79MB + Index: 0.31MB + Engine MyISAM wpun_wflivetraffichuman: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpun_wflocs: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wpun_wflogins: Data: 0.31MB + Index: 0.07MB + Engine MyISAM wpun_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpun_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpun_wfnotifications: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wpun_wfpendingissues: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wpun_wfreversecache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpun_wfsnipcache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpun_wfstatus: Data: 0.08MB + Index: 0.04MB + Engine MyISAM wpun_wftrafficrates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpun_wpml_mails: Data: 41.16MB + Index: 0.11MB + Engine MyISAM wpun_yoast_indexable: Data: 0.58MB + Index: 0.13MB + Engine MyISAM wpun_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.04MB + Engine MyISAM wpun_yoast_migrations: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpun_yoast_primary_term: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpun_yoast_seo_links: Data: 0.04MB + Index: 0.02MB + Engine MyISAM wpun_yoast_seo_meta: Data: 0.01MB + Index: 0.01MB + Engine MyISAM ### Post Type Counts ### amn_mi-lite: 3 attachment: 344 e-landing-page: 2 elementor_library: 3 envira: 1 intergeo: 2 nav_menu_item: 16 nf_sub: 29 ngg_gallery: 2 ngg_pictures: 6 oembed_cache: 3 page: 35 post: 1 product: 93 product_variation: 166 pys_event: 2 revision: 898 shop_coupon: 37 shop_order: 2024 shop_order_refund: 29 shop_subscription: 116 spucpt: 6 sumomasterlog: 70 sumosubscriptions: 2 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (22) ### Caldera Forms: by Caldera Forms – 1.9.6 Elementor Pro: by Elementor.com – 3.5.2 Elementor: by Elementor.com – 3.5.3 Flexible Checkout Fields: by WP Desk – 3.1.2 Imagify: by WP Media – 1.10 Insert Headers and Footers: by WPBeginner – 1.6.0 LiteSpeed Cache: by LiteSpeed Technologies – 4.4.6 Ocean Extra: by OceanWP – 1.9.2 Order Delivery Date Pro for WooCommerce: by Tyche Softwares – 9.27.4 PixelYourSite: by PixelYourSite – 8.2.15 Popups - WordPress Popup: by timersys – 1.9.3.8 Remove Query Strings From Static Resources: by Speed Up My Website Your WP Expert – 1.4 SparkPost: by SparkPost – 3.2.5 UpdraftPlus - Backup/Restore: by UpdraftPlus.Com DavidAnderson – 1.16.69 WooCommerce Stripe Gateway: by WooCommerce – 5.9.0 WP WooCommerce Mailchimp: by Saint Systems – 2.4.8 WooCommerce Product Dependencies: by SomewhereWarm – 1.2.7 WooCommerce Subscriptions: by WooCommerce – 3.1.6 WooCommerce: by Automattic – 6.0.0 Wordfence Security: by Wordfence – 7.5.7 WP Mail Logging: by Wysija – 1.10.2 WP Rollback: by Impress.org – 1.7.1 ### Inactive Plugins (3) ### Mailchimp for WooCommerce: by Mailchimp – 2.5.4 Ninja Forms: by Saturday Drive – 3.6.7 Order Delivery Date for WooCommerce (Lite version): by Tyche Softwares – 3.16.0 ### Must Use Plugins (1) ### Elementor Safe Mode: by Elementor.com – 1.0.0 ### Settings ### API Enabled: ? Force SSL: ? Currency: USD ($) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) subscription (subscription) variable (variable) variable subscription (variable-subscription) wsspg_subscription (wsspg_subscription) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to WooCommerce.com: ? ### WC Pages ### Shop base: ? Page visibility should be public Cart: #18 - /cart/ Checkout: #19 - /checkout/ My account: #20 - /my-account/ Terms and conditions: ? Page not set ### Theme ### Name: OceanWP Version: 3.1.2 Author URL: https://oceanwp.org/about-me/ Child Theme: ? – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme WooCommerce Support: ? ### Templates ### Overrides: oceanwp/woocommerce/cart/mini-cart.php oceanwp/woocommerce/content-single-product.php oceanwp/woocommerce/loop/loop-start.php oceanwp/woocommerce/single-product/title.php ### Subscriptions ### WCS_DEBUG: ? No Subscriptions Mode: ? Live Subscriptions Live URL: https://bloomsubscription.com Subscription Statuses: wc-active: 38 wc-pending-cancel: 2 wc-on-hold: 5 wc-cancelled: 71 WooCommerce Account Connected: ? Yes Active Product Key: ? Yes Report Cache Enabled: ? Yes Cache Update Failures: ? 0 failure ### Store Setup ### Country / State: United States (US) — California ### Subscriptions by Payment Gateway ### Stripe: wc-active: 38 wc-cancelled: 71 wc-on-hold: 5 wc-pending-cancel: 2 ### Payment Gateway Support ### Stripe: products refunds tokenization add_payment_method subscriptions subscription_cancellation subscription_suspension subscription_reactivation subscription_amount_changes subscription_date_changes subscription_payment_method_change subscription_payment_method_change_customer subscription_payment_method_change_admin multiple_subscriptions ### Action Scheduler ### Canceled: 4 Oldest: 2022-01-01 21:43:47 -0800 Newest: 2022-01-01 22:12:21 -0800 Complete: 2,304 Oldest: 2021-12-21 09:51:48 -0800 Newest: 2022-01-04 09:20:37 -0800 Failed: 2 Oldest: 2021-06-11 17:53:02 -0700 Newest: 2022-01-04 00:23:51 -0800 Pending: 44 Oldest: 2022-01-04 09:29:10 -0800 Newest: 2022-12-23 04:54:07 -0800 ### Status report information ### Generated at: 2022-01-04 09:21:52 -08:00
—
Also, when I try to activate Ninja Forms (which I had previously used for quite a while), I get the message “Plugin could not be activated because it triggered a fatal error.”
Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'IF' at line 1 in /home/tocroc/public_html/bloomsubscription.com/wp-includes/wp-db.php:2056 Stack trace: #0 /home/tocroc/public_html/bloomsubscription.com/wp-includes/wp-db.php(2056): mysqli_query() #1 /home/tocroc/public_html/bloomsubscription.com/wp-includes/wp-db.php(1945): wpdb->_do_query() #2 /home/tocroc/public_html/bloomsubscription.com/wp-includes/wp-db.php(2695): wpdb->query() #3 /home/tocroc/public_html/bloomsubscription.com/wp-admin/includes/upgrade.php(2749): wpdb->get_results() #4 /home/tocroc/public_html/bloomsubscription.com/wp-content/plugins/ninja-forms/includes/Database/Migrations/Forms.php(47): dbDelta() #5 /home/tocroc/public_html/bloomsubscription.com/wp-content/plugins/ninja-forms/includes/Abstracts/Migration.php(134): NF_Database_Migrations_Forms->run() #6 /home/tocroc/public_html/bloomsubscription.com/wp-content/plugins/ninja-forms/includes/Database/Migrations.php(40): NF_Abstracts_Migration->_run() #7 /home/tocroc/public_html/bloomsubscription.com/wp-content/plugins/ninja-forms/ninja-forms.php(1039): NF_Database_Migrations->migrate() #8 /home/tocroc/public_html/bloomsubscription.com/wp-includes/class-wp-hook.php(303): Ninja_Forms->activation() #9 /home/tocroc/public_html/bloomsubscription.com/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters() #10 /home/tocroc/public_html/bloomsubscription.com/wp-includes/plugin.php(470): WP_Hook->do_action() #11 /home/tocroc/public_html/bloomsubscription.com/wp-admin/plugins.php(193): do_action() #12 {main} thrown in /home/tocroc/public_html/bloomsubscription.com/wp-includes/wp-db.php on line 2056 Deprecated: class_exists(): Passing null to parameter #1 ($class) of type string is deprecated in /home/tocroc/public_html/bloomsubscription.com/wp-content/plugins/woocommerce/includes/wc-core-functions.php on line 2057
Thanks!
- This topic was modified 2 years, 11 months ago by .
- This topic was modified 2 years, 11 months ago by .
The page I need help with: [log in to see the link]
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Woocommerce subscription payment error’ is closed to new replies.