Cannot read properties of null (reading ‘submit’)
-
Hi!
A client of mine has a directory per subscription site, and for the recurring fee we have Stripe, with the Woo Stripe plugin, since it wont work with anything else (geodirectory – the other option is their own plugin which is paid).
We have noticed erratic behaviour, but now clients cant even pay since there was always an error.
I checked the plugin and it said something about the old version of something so I checked the toggle on and configured.
Now the error is: Cannot read properties of null (reading ‘submit’)
I tried buying a normal product, with no recurrring anything and still, same error.
I installed another stripe plugin, it doesnt work with subscriptions but it does for the individual product.
So it has to be something about the plugin. Everything is up to date. I have lurked in the forums and have seen similar errors but no solution, at least on the posts I have read. Maybe rolling back to an older version but I don’t have any.
Thanks in advance,
Ana
- This topic was modified 7 months, 1 week ago by myhappyidea.
The page I need help with: [log in to see the link]
-
Hello @myhappyidea,
Thanks for reaching out.
Before we can proceed with troubleshooting steps,
I’d like to understand your site properly. Please share with us the necessary information below for us to investigate the issue further:
- System Status Report which you can find via WooCommerce > Status > Get system report > Copy for support.
- Fatal error logs (if any) under WooCommerce > Status > Logs.
You could copy and paste your reply here or paste it via https://gist.github.com/ and send the link here.
Once we have more information, we’ll be able to assist you further.
Sure, here it is:
` WordPress Environment WordPress address (URL): https://emaempresariasasociadas.es Site address (URL): https://emaempresariasasociadas.es WC Version: 8.8.2 REST API Version: ? 8.8.2 Action Scheduler Version: ? 3.7.4 Log Directory Writable: ? WP Version: 6.5.2 WP Multisite: – WP Memory Limit: ? 40 MB - Recomendamos configurar la memoria por lo menos a 64 MB. Ver: Aumentar la memoria asignada para PHP WP Debug Mode: – WP Cron: – Language: es_ES External object cache: – Server Environment Server Info: Apache PHP Version: 8.0.30 PHP Post Max Size: 64 MB PHP Time Limit: 50000 PHP Max Input Vars: 5000 cURL Version: 7.74.0 OpenSSL/1.1.1w SUHOSIN Installed: – MySQL Version: 10.6.15-MariaDB-1:10.6.15+maria~deb11-log Max Upload Size: 64 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? Database WC Database Version: 8.8.2 WC Database Prefix: avqp_ Tama?o total de la base de datos: 54.46MB Tama?o de los datos de la base de datos: 49.26MB Tama?o del índice de la base de datos: 5.20MB avqp_woocommerce_sessions: Datos: 0.17MB + índice: 0.02MB + Motor InnoDB avqp_woocommerce_api_keys: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB avqp_woocommerce_attribute_taxonomies: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB avqp_woocommerce_downloadable_product_permissions: Datos: 0.02MB + índice: 0.06MB + Motor InnoDB avqp_woocommerce_order_items: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB avqp_woocommerce_order_itemmeta: Datos: 0.05MB + índice: 0.03MB + Motor InnoDB avqp_woocommerce_tax_rates: Datos: 0.02MB + índice: 0.06MB + Motor InnoDB avqp_woocommerce_tax_rate_locations: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB avqp_woocommerce_shipping_zones: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB avqp_woocommerce_shipping_zone_locations: Datos: 0.02MB + índice: 0.05MB + Motor InnoDB avqp_woocommerce_shipping_zone_methods: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB avqp_woocommerce_payment_tokens: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB avqp_woocommerce_payment_tokenmeta: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB avqp_woocommerce_log: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB avqp_actionscheduler_actions: Datos: 2.02MB + índice: 0.81MB + Motor InnoDB avqp_actionscheduler_claims: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB avqp_actionscheduler_groups: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB avqp_actionscheduler_logs: Datos: 0.48MB + índice: 0.41MB + Motor InnoDB avqp_aioseo_cache: Datos: 0.16MB + índice: 0.03MB + Motor InnoDB avqp_aioseo_crawl_cleanup_blocked_args: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB avqp_aioseo_crawl_cleanup_logs: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB avqp_aioseo_notifications: Datos: 0.11MB + índice: 0.06MB + Motor InnoDB avqp_aioseo_posts: Datos: 0.13MB + índice: 0.02MB + Motor InnoDB avqp_commentmeta: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB avqp_comments: Datos: 0.06MB + índice: 0.09MB + Motor InnoDB avqp_countries: Datos: 0.08MB + índice: 0.00MB + Motor InnoDB avqp_e_events: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB avqp_e_notes: Datos: 0.02MB + índice: 0.17MB + Motor InnoDB avqp_e_notes_users_relations: Datos: 0.02MB + índice: 0.05MB + Motor InnoDB avqp_e_submissions: Datos: 0.09MB + índice: 0.27MB + Motor InnoDB avqp_e_submissions_actions_log: Datos: 0.02MB + índice: 0.11MB + Motor InnoDB avqp_e_submissions_values: Datos: 0.08MB + índice: 0.03MB + Motor InnoDB avqp_gdbc_availability: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB avqp_gdbc_bookings: Datos: 0.02MB + índice: 0.08MB + Motor InnoDB avqp_gdbc_day_rules: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB avqp_gdbc_rulesets: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB avqp_geodir_api_keys: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB avqp_geodir_attachments: Datos: 0.19MB + índice: 0.03MB + Motor InnoDB avqp_geodir_business_hours: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB avqp_geodir_claim: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB avqp_geodir_cp_link_posts: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB avqp_geodir_custom_advance_search_fields: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB avqp_geodir_custom_fields: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB avqp_geodir_custom_sort_fields: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB avqp_geodir_event_schedule: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB avqp_geodir_gd_event_detail: Datos: 0.02MB + índice: 0.05MB + Motor InnoDB avqp_geodir_gd_place_detail: Datos: 0.08MB + índice: 0.05MB + Motor InnoDB avqp_geodir_location_seo: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB avqp_geodir_post_locations: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB avqp_geodir_post_neighbourhood: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB avqp_geodir_post_packages: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB avqp_geodir_post_reports: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB avqp_geodir_post_review: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB avqp_geodir_price: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB avqp_geodir_pricemeta: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB avqp_geodir_save_search_emails: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB avqp_geodir_save_search_fields: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB avqp_geodir_save_search_subscribers: Datos: 0.02MB + índice: 0.05MB + Motor InnoDB avqp_geodir_tabs_layout: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB avqp_geodir_term_meta: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB avqp_geodir_tickets: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB avqp_getpaid_invoices: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB avqp_getpaid_invoice_items: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB avqp_getpaid_reserved_stock: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB avqp_links: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB avqp_nf3_actions: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB avqp_nf3_action_meta: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB avqp_nf3_chunks: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB avqp_nf3_fields: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB avqp_nf3_field_meta: Datos: 0.05MB + índice: 0.00MB + Motor InnoDB avqp_nf3_forms: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB avqp_nf3_form_meta: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB avqp_nf3_objects: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB avqp_nf3_object_meta: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB avqp_nf3_relationships: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB avqp_nf3_upgrades: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB avqp_options: Datos: 5.09MB + índice: 0.08MB + Motor InnoDB avqp_p2p: Datos: 0.02MB + índice: 0.05MB + Motor InnoDB avqp_p2pmeta: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB avqp_postmeta: Datos: 26.06MB + índice: 0.53MB + Motor InnoDB avqp_posts: Datos: 12.11MB + índice: 0.13MB + Motor InnoDB avqp_termmeta: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB avqp_terms: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB avqp_term_relationships: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB avqp_term_taxonomy: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB avqp_trustindex_google_reviews: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB avqp_um_metadata: Datos: 0.02MB + índice: 0.05MB + Motor InnoDB avqp_usermeta: Datos: 0.06MB + índice: 0.06MB + Motor InnoDB avqp_users: Datos: 0.02MB + índice: 0.05MB + Motor InnoDB avqp_uwp_form_extras: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB avqp_uwp_form_fields: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB avqp_uwp_profile_tabs: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB avqp_uwp_social_profiles: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB avqp_uwp_usermeta: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB avqp_uwp_user_sorting: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB avqp_wcpdf_invoice_number: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB avqp_wc_admin_notes: Datos: 0.06MB + índice: 0.00MB + Motor InnoDB avqp_wc_admin_note_actions: Datos: 0.05MB + índice: 0.02MB + Motor InnoDB avqp_wc_category_lookup: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB avqp_wc_customer_lookup: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB avqp_wc_download_log: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB avqp_wc_orders: Datos: 0.02MB + índice: 0.11MB + Motor InnoDB avqp_wc_orders_meta: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB avqp_wc_order_addresses: Datos: 0.02MB + índice: 0.06MB + Motor InnoDB avqp_wc_order_coupon_lookup: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB avqp_wc_order_operational_data: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB avqp_wc_order_product_lookup: Datos: 0.02MB + índice: 0.06MB + Motor InnoDB avqp_wc_order_stats: Datos: 0.02MB + índice: 0.05MB + Motor InnoDB avqp_wc_order_tax_lookup: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB avqp_wc_product_attributes_lookup: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB avqp_wc_product_download_directories: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB avqp_wc_product_meta_lookup: Datos: 0.02MB + índice: 0.09MB + Motor InnoDB avqp_wc_rate_limits: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB avqp_wc_reserved_stock: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB avqp_wc_tax_rate_classes: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB avqp_wc_webhooks: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB avqp_wpfm_backup: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB avqp_wpinv_subscriptions: Datos: 0.02MB + índice: 0.06MB + Motor InnoDB avqp_wpinv_wallet_balance: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB avqp_wpinv_wallet_transactions: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB avqp_wpmailsmtp_debug_events: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB avqp_wpmailsmtp_tasks_meta: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB avqp_wpuf_subscribers: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB avqp_wpuf_transaction: Datos: 0.02MB + índice: 0.06MB + Motor InnoDB Post Type Counts attachment: 141 elementor_library: 8 gd_place: 18 nav_menu_item: 18 page: 45 post: 2 product: 2 revision: 335 shop_coupon: 2 shop_order: 30 shop_order_refund: 2 um_directory: 1 um_form: 3 wp_navigation: 1 wpi_item: 1 wpi_payment_form: 2 wps_subscriptions: 12 wpuf_forms: 1 wpuf_input: 2 Security Secure connection (HTTPS): ? Hide errors from visitors: ? Active Plugins (30) All in One SEO: por All in One SEO Team – 4.6.0 AyeCode Connect: por AyeCode – 1.2.18 Editor clásico: por Colaboradores de WordPress – 1.6.3 Disable Comments: por WPDeveloper – 2.4.6 Elementor Pro: por Elementor.com – 3.21.0 Elementor: por Elementor.com – 3.21.1 Plantillas de email: por wpexpertsio – 1.4.3 Events for GeoDirectory: por AyeCode Ltd – 2.3.10 GeoDirectory Google Analytics: por AyeCode Ltd – 2.3.2 GeoDirectory Events Tickets Marketplace: por AyeCode Ltd – 2.1 GeoDirectory Advanced Search Filters: por AyeCode Ltd – 2.3.7 GeoDirectory Custom Post Types: por AyeCode Ltd – 2.3.6 GeoDirectory Pricing Manager: por AyeCode Ltd – 2.7.9 GeoDirectory: por AyeCode - WordPress Business Directory Plugins – 2.3.49 IONOS Security: por IONOS – 1.1.0 Loco Translate: por Tim Whitlock – 2.6.7 Ninja Forms: por Saturday Drive – 3.8.2 Stripe Payment Plugin for WooCommerce: por WebToffee – 3.9.8 Post Duplicator: por Metaphor Creations – 2.33 Posts 2 Posts: por scribu – 1.7.3 Subscriptions For WooCommerce: por WP Swings – 1.6.4 UsersWP - ReCaptcha: por AyeCode Ltd – 1.3.19 UsersWP: por AyeCode Ltd – 1.2.9 WooCommerce Checkout Manager: por QuadLayers – 7.4.6 WooCommerce Stripe Gateway: por WooCommerce – 8.2.0 PDF Invoices & Packing Slips for WooCommerce: por WP Overnight – 3.8.0 WooCommerce: por Automattic – 8.8.2 Administrador de archivos WP: por mndpsingh287 – 7.2.6 WP Mail SMTP: por WP Mail SMTP – 4.0.1 Widgets para rese?as de Google: por Trustindex.io – 11.8.2 Inactive Plugins (1) Payment Plugins for Stripe WooCommerce: por Payment Plugins [email protected] – 3.3.60 Must Use Plugins (3) GeoDirectory Fast AJAX: por AyeCode Ltd – 1.0.0 IONOS Marketplace: por IONOS – 1.1.5 WordPress automation by Installatron: por – Settings API Enabled: – Force SSL: – Currency: EUR (€) Currency Position: right_space Thousand Separator: . Decimal Separator: , Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) 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: – Enforce Approved Product Download Directories: ? HPOS feature screen enabled: – HPOS feature enabled: – Order datastore: WC_Order_Data_Store_CPT HPOS data sync enabled: – Logging Enabled: ? Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2 Retention period: 30 días Level threshold: Aviso Log directory size: 388 KB WC Pages Base de la tienda: ? La visibilidad de la página debe ser pública Carrito: #532 - /carrito/ Finalizar compra: #533 - /finalizar-compra/ Mi cuenta: #754 - /mi-cuenta-socia/ Términos y condiciones: ? La visibilidad de la página debe ser pública Theme Name: Hello Elementor Child Version: 1.0.1 Author URL: https://elementor.com/ Child Theme: ? Parent Theme Name: Hello Elementor Parent Theme Version: 3.0.1 Parent Theme Author URL: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash WooCommerce Support: ? Templates Overrides: – Admin Enabled Features: activity-panels analytics product-block-editor coupons core-profiler customize-store customer-effort-score-tracks import-products-task experimental-fashion-sample-products shipping-smart-defaults shipping-setting-tour homescreen marketing mobile-app-banner navigation onboarding onboarding-tasks product-variation-management product-virtual-downloadable product-external-affiliate product-grouped product-linked product-pre-publish-modal remote-inbox-notifications remote-free-extensions payment-gateway-suggestions shipping-label-banner subscriptions store-alerts transient-notices woo-mobile-welcome wc-pay-promotion wc-pay-welcome-page Disabled Features: minified-js new-product-management-experience product-custom-fields settings async-product-editor-category-field launch-your-store Daily Cron: ? Next scheduled: 2024-04-19 15:23:25 +02:00 Options: ? Notes: 79 Onboarding: completed Action Scheduler Completo: 2.663 Oldest: 2024-03-18 16:27:17 +0000 Newest: 2024-04-18 16:13:25 +0000 Fallida: 1 Oldest: 2023-10-05 13:27:37 +0000 Newest: 2023-10-05 13:27:37 +0000 Pendiente: 11 Oldest: 2024-04-18 16:24:23 +0000 Newest: 2024-04-23 11:50:46 +0000 Status report information Generated at: 2024-04-18 18:21:48 +02:00 `
Error log: the same thing:
2024-04-17T09:23:35+00:00 Crítico Uncaught ArgumentCountError: Too few arguments to function Wps_Subscriptions_Payment_Stripe_Main::wps_sfw_wc_stripe_force_save_source_callback(), 1 passed in /homepages/31/d4297719793/htdocs/wordpress/wp-includes/class-wp-hook.php on line 324 and exactly 2 expected in /homepages/31/d4297719793/htdocs/wordpress/wp-content/plugins/subscriptions-for-woocommerce/package/gateways/stripe/class-wps-subscriptions-payment-stripe-main.php:106Hi @myhappyidea,
Thank you for the additional details. As a first step, please try increasing your WP Memory Limit to 256 MB.
After that, can you please try disabling these plugins to rule out a conflict issue with those in particular:
- Stripe Payment Plugin for WooCommerce: por WebToffee – 3.9.8
- Payment Plugins for Stripe WooCommerce: por Payment Plugins [email protected] – 3.3.60
So it has to be something about the plugin. Everything is up to date. I have lurked in the forums and have seen similar errors but no solution, at least on the posts I have read. Maybe rolling back to an older version but I don’t have any.
Did you had this issue before updating? We can further explore this path as a last resource if we rule out a bug that isn’t resolved yet. But first I’d like to exhaust a few troubleshooting options first!
Cheers!
-OPHi!
The tests were made without both, I installed them to see if it was Woocommerce by itself failing.
Will try memory limit.
Hi @myhappyidea,
Thank you for clarifying! Please keep us posted after the memory limit, too!
Please also enable Stripe logging by going to WooCommerce → Settings → Payments → Stripe → Settings → Advanced Settings → Log error messages, then try placing an order and if the issue persists, share the logs under WooCommerce → Status → Logs.
You could copy and paste your reply here or paste it via https://gist.github.com/ and send the link here.
Once we have more information, we’ll be able to assist you further.
Thanks!
-OPHi!
Upped the memory, still the same.
The Log error gives nothing in particular:
2024-04-18T15:20:29+00:00 Depuración ====Stripe Version: 8.2.0==== ====Stripe Plugin API Version: 2019-09-09==== ====Start Log==== account ====End Log==== 2024-04-18T15:20:31+00:00 Depuración ====Stripe Version: 8.2.0==== ====Stripe Plugin API Version: 2019-09-09==== ====Start Log==== account ====End Log==== 2024-04-18T15:20:33+00:00 Depuración ====Stripe Version: 8.2.0==== ====Stripe Plugin API Version: 2019-09-09==== ====Start Log==== account ====End Log==== 2024-04-18T15:39:55+00:00 Depuración ====Stripe Version: 8.2.0==== ====Stripe Plugin API Version: 2019-09-09==== ====Start Log==== Your domain has been verified with Apple Pay! ====End Log====
Hey, @myhappyidea!
Thanks for sharing the Stripe logs, they really don’t show nothing wrong.
You mentioned trying after disabling the two plugins we pointed out, but have you tried a full conflict test? This means deactivating all plugins but WooCommerce and WooCommerce Stripe Payment Gateway and switching to the Storefront theme to test if the issue persists.
— Be sure you have a good backup in place of your full site and database. You can ask your host for backup functionality or you can consider using a service like Jetpack. If something goes wrong, you will be able to restore it.
— Also, you can consider using a plugin like Health Check & Troubleshooting. This is a plugin developed by the WordPress community and it is helpful to disable plugins without affecting your current site visitors.
— It is important to consider as well a staging functionality in case you would not like to touch your production site (you can ask your host if they offer this service), or you can use WP Staging for quickly spinning up a new test site.
You can find more about this in this guide.
Looking forward to your reply.
Have a wonderful day!
Hi!
Same issue here, WooCommerce + Subscriptions + Stripe =
Cannot read properties of null (reading 'submit')
Single/simple product payment it’s ok.
System status:
` ### WordPress Environment ### WordPress address (URL): (redacted) Site address (URL): (redacted) WC Version: 8.8.2 REST API Version: ? 8.8.2 Action Scheduler Version: ? 3.7.4 Log Directory Writable: ? WP Version: 6.5.2 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ? Language: es_ES External object cache: – ### Server Environment ### Server Info: nginx/1.25.3 PHP Version: 8.2.14 PHP Post Max Size: 100 MB PHP Time Limit: 60 PHP Max Input Vars: 1000 cURL Version: 7.74.0 OpenSSL/1.1.1w SUHOSIN Installed: – MySQL Version: 10.6.16-MariaDB-1:10.6.16+maria~deb11 Max Upload Size: 100 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 8.8.2 WC Database Prefix: (redacted) Total Database Size: 10.18MB Database Data Size: 8.21MB Database Index Size: 1.97MB ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (12) ### Thank You Page for WooCommerce: by Nitin Prakash – 4.1.0 404 Solution: by Aaron J – 2.35.9 Astra Pro: by Brainstorm Force – 4.6.5 Duplicate PP: by Zakaria Binsaifullah – 3.5.1 Kadence Blocks – Gutenberg Blocks for Page Builder Features: by Kadence WP – 3.2.35 Loco Translate: by Tim Whitlock – 2.6.7 Payment Methods by Product & Country for WooCommerce: by WPFactory – 1.7.12 Post SMTP: by Post SMTP – 2.9.1 Pasarela Unificada de Redsys para WooCommerce: by Redsys Servicios de Procesamiento S.L. – 1.4.2 Subscriptions For WooCommerce: by WP Swings – 1.6.4 WooCommerce Stripe Gateway: by WooCommerce – 8.2.0 WooCommerce: by Automattic – 8.8.2 ### Inactive Plugins (2) ### Checkout Field Editor for WooCommerce: by ThemeHigh – 2.0.1 Force Login: by Kevin Vess – 5.6.3 ### Must Use Plugins (1) ### WP Password bcrypt: by Roots – 1.1.0 ### Settings ### API Enabled: – Force SSL: – Currency: EUR (€) Currency Position: right_space Thousand Separator: . Decimal Separator: , Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) 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: – Enforce Approved Product Download Directories: ? HPOS feature screen enabled: ? HPOS feature enabled: ? Order datastore: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore HPOS data sync enabled: – ### Logging ### Enabled: ? Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2 Retention period: 30 days Level threshold: Info Log directory size: 78 B ### Theme ### Name: (redacted) Version: 1.0 Author URL: (redacted) Child Theme: ? Parent Theme Name: Astra Parent Theme Version: 4.6.12 Parent Theme Author URL: https://wpastra.com/about/ WooCommerce Support: ? ### Templates ### Overrides: cd/woocommerce/cart/cart-totals.php cd/woocommerce/cart/cart.php cd/woocommerce/checkout/review-order.php cd/woocommerce/content-single-product.php cd/woocommerce/emails/admin-new-order.php cd/woocommerce/emails/plain/admin-new-order.php ### Admin ### Enabled Features: activity-panels analytics product-block-editor coupons core-profiler customize-store customer-effort-score-tracks import-products-task experimental-fashion-sample-products shipping-smart-defaults shipping-setting-tour homescreen marketing mobile-app-banner navigation onboarding onboarding-tasks product-variation-management product-virtual-downloadable product-external-affiliate product-grouped product-linked product-pre-publish-modal remote-inbox-notifications remote-free-extensions payment-gateway-suggestions shipping-label-banner subscriptions store-alerts transient-notices woo-mobile-welcome wc-pay-promotion wc-pay-welcome-page Disabled Features: minified-js new-product-management-experience product-custom-fields settings async-product-editor-category-field launch-your-store Daily Cron: ? Next scheduled: 2024-04-25 12:47:14 +02:00 Options: ? Notes: 78 Onboarding: completed ### Action Scheduler ### Complete: 72 Oldest: 2024-03-25 17:30:13 +0100 Newest: 2024-04-25 11:28:49 +0200 Failed: 87 Oldest: 2023-12-01 18:21:18 +0100 Newest: 2024-04-25 10:43:46 +0200 Pending: 4 Oldest: 2024-04-25 11:44:10 +0200 Newest: 2024-04-26 09:37:12 +0200 ### Status report information ### Generated at: 2024-04-25 11:32:48 +02:00 `
?? hey @myhappyidea @rafamerino
It appears that the System Status Report (SSR) shared for the two sites have the same subscription plugin activated:
Subscriptions For WooCommerce: por WP Swings – 1.6.4
As the issue is isolated for subscription products at your stores, I’d recommend reaching out to the plugin’s support which can be accessed via this page:
https://wpswings.com/submit-query/
I trust that points you in the right direction, but if you have more questions, let us know.
We’re happy to help.
Just saw a thread for this topic. Here’s the link for reference.
Thnx!
- This reply was modified 7 months ago by rafamerino. Reason: Link added
Hi @rafamerino
Thank you for sharing the link to the thread. I saw you’ve already posted the information there. Let’s hope the plugin developer reaches out soon with a solution.
Thanks!
Hi @myhappyidea;
We haven’t heard from you in a while, so I’m going to mark this as resolved. Feel free to start a new thread if you have any more questions. You can also keep an eye on the WP Swings thread for further details.
All the best,
OmarHi team,
I’m still experiencing this issue — has this actually been resolved?
Cannot read properties of null (reading 'submit")
I’ve tried the Stripe plugin as well as WooPayments and thought it was initially related to the Subscriptions plugin, but I’m still having this issue. There are no errors in the Stripe log or in the debug.log and not all customers are having this issue. Even the ones that have issues, seem to be able to complete the purchase just fine later on. But it’s really frustrating…
I would really appreciate some help with this.
Thank you!
Cheers
ClemensHello kognito,
Thank you for contacting Woo support.
I understand you are facing a similar issue.
As per forum guidelines I suggest you create a new topic so we can assist you separately.When you create a new topic, please include your site’s System Status Report.
It will help the troubleshooting process move faster.Best regards.
Will do, thanks Zubair!
- You must be logged in to reply to this topic.