• Resolved Cheryl

    (@tricheryltops)


    Hello,

    I decided to change the domain name on a website I recently set up on which WooCommerce and Stripe were installed.

    I forgot to disable the Stripe webhooks, etc, before I did so…so of course Stripe was not working.

    However, the “disconnect” or “edit keys” buttons in the Stripe settings in WooCommerce were not working — nothing happened.

    So I removed the webhooks from Stripe. And then, that not working, I manually removed the Stripe setup settings from the database. Still didn’t work.

    So I uninstalled the Stripe plugin and used database cleaner to remove its tables, then reinstalled it.

    Finally…I got the screen where I could connect to Stripe, I was able to choose the account, and it created an “installed app” connection in Stripe but now returns a critical error when it returns me to WooCommerce (only for the Stripe connection, though…I can still access the site)

    When I try to go back to the Stripe settings I, again, get the “Get Started with Stripe” screen to connect an account.

    How can I fix this and set up Stripe again?

    Thanks

Viewing 15 replies - 1 through 15 (of 19 total)
  • Thread Starter Cheryl

    (@tricheryltops)

    Additionally, when I tried to connect, and got the error, I received the email that a new payment method “Stripe” had been connected.

    When I tried again, I got the same email with a message like:

    The payment gateway “” was just enabled on this site:

    And I received 13 of these emails!

    Plugin Support RK a11n

    (@riaanknoetze)

    Hi Cheryl,

    That definitely sounds like something went wrong somewhere – let’s try to get to the bottom of that. As a first, please do the following:

    • Share a copy of your status report as found under WooCommerce > Status
    • Share the exact critical error you got

    Thanks!

    Thread Starter Cheryl

    (@tricheryltops)

    OK:

    Here’s the status report:

    WordPress Environment<br><br>WordPress address (URL): https://www.pnwlens.com<br>Site address (URL): https://www.pnwlens.com<br>WC Version: 9.1.4<br>Legacy REST API Package Version: The Legacy REST API plugin is not installed on this site.<br>Action Scheduler Version: ✔ 3.8.1<br>Log Directory Writable: ✔<br>WP Version: 6.6.1<br>WP Multisite: –<br>WP Memory Limit: 512 MB<br>WP Debug Mode: –<br>WP Cron: ✔<br>Language: en_US<br>External object cache: ✔ Server Environment<br><br>Server Info: Apache/2.4.62 (Debian)<br>PHP Version: 8.2.21<br>PHP Post Max Size: 499 MB<br>PHP Time Limit: 600<br>PHP Max Input Vars: 10000<br>cURL Version: 7.74.0<br>OpenSSL/1.1.1w<br><br>SUHOSIN Installed: –<br>MySQL Version: 10.6.18-MariaDB-deb11-log<br>Max Upload Size: 499 MB<br>Default Timezone is UTC: ✔<br>fsockopen/cURL: ✔<br>SoapClient: ✔<br>DOMDocument: ✔<br>GZip: ✔<br>Multibyte String: ✔<br>Remote Post: ✔<br>Remote Get: ✔ Database<br><br>WC Database Version: 9.1.4<br>WC Database Prefix: wp_<br>Total Database Size: 12.12MB<br>Database Data Size: 8.37MB<br>Database Index Size: 3.75MB<br>wp_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_actionscheduler_actions: Data: 0.13MB + Index: 0.17MB + Engine InnoDB<br>wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_actionscheduler_logs: Data: 0.11MB + Index: 0.09MB + Engine InnoDB<br>wp_aysarp_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_bv_fw_requests: Data: 0.14MB + Index: 0.00MB + Engine InnoDB<br>wp_bv_ip_store: Data: 0.27MB + Index: 0.17MB + Engine InnoDB<br>wp_bv_lp_requests: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_cmplz_cookiebanners: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_cmplz_cookies: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_cmplz_dnsmpd: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_cmplz_services: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_cmplz_statistics: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_commentmeta: Data: 0.08MB + Index: 0.06MB + Engine InnoDB<br>wp_comments: Data: 0.05MB + Index: 0.09MB + Engine InnoDB<br>wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_lrsync: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_lrsync_collections: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_lrsync_meta: Data: 0.09MB + Index: 0.00MB + Engine InnoDB<br>wp_lrsync_relations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_newsletter: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_newsletter_emails: Data: 0.03MB + Index: 0.00MB + Engine InnoDB<br>wp_newsletter_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_newsletter_sent: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_newsletter_stats: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_newsletter_user_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_newsletter_user_meta: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_options: Data: 3.17MB + Index: 0.08MB + Engine InnoDB<br>wp_postmeta: Data: 1.50MB + Index: 0.52MB + Engine InnoDB<br>wp_posts: Data: 0.41MB + Index: 0.06MB + Engine InnoDB<br>wp_rank_math_404_logs: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_rank_math_analytics_adsense: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_rank_math_analytics_ga: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_rank_math_analytics_inspections: Data: 0.06MB + Index: 0.09MB + Engine InnoDB<br>wp_rank_math_analytics_keyword_manager: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_rank_math_analytics_objects: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_rank_math_internal_links: Data: 0.06MB + Index: 0.02MB + Engine InnoDB<br>wp_rank_math_internal_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_rank_math_redirections: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_rank_math_redirections_cache: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_rmp_analytics: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_term_relationships: Data: 0.11MB + Index: 0.06MB + Engine InnoDB<br>wp_term_taxonomy: Data: 0.06MB + Index: 0.03MB + Engine InnoDB<br>wp_to_buffer_log: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_comments_subscription: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_feedback_forms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_follow_users: Data: 0.02MB + Index: 0.13MB + Engine InnoDB<br>wp_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB<br>wp_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_phrases: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.11MB + Engine InnoDB<br>wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_users_rated: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_users_voted: Data: 0.02MB + Index: 0.08MB + Engine InnoDB<br>wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wpforms_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpforms_payments: Data: 0.02MB + Index: 0.14MB + Engine InnoDB<br>wp_wpforms_payment_meta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpgmza: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpgmza_admin_notices: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpgmza_batched_imports: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpgmza_categories: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpgmza_category_maps: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpgmza_circles: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpgmza_custom_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wpgmza_datasets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpgmza_image_overlays: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpgmza_live_tracking_devices: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpgmza_maps: Data: 0.05MB + Index: 0.00MB + Engine InnoDB<br>wp_wpgmza_maps_has_custom_fields_filters: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpgmza_markers_has_categories: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpgmza_markers_has_custom_fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpgmza_markers_has_ratings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpgmza_point_labels: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpgmza_polygon: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpgmza_polylines: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpgmza_ratings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpgmza_rectangles: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpr_above_the_fold: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_wpr_rocket_cache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_wpr_rucss_used_css: Data: 0.02MB + Index: 0.09MB + Engine InnoDB Post Type Counts<br><br>attachment: 151<br>custom_css: 1<br>foobar_notification: 1<br>foogallery: 20<br>gp_elements: 15<br>nav_menu_item: 27<br>page: 23<br>popup: 2<br>popup_theme: 8<br>post: 12<br>product: 12<br>product_variation: 11<br>shop_order_placehold: 2<br>wp_font_face: 33<br>wp_font_family: 12<br>wp_navigation: 2<br>wpdiscuz_form: 2<br>wpforms: 2 Security<br><br>Secure connection (HTTPS): ✔<br>Hide errors from visitors: ✔ Active Plugins (46)<br><br>FooGallery (Premium): by FooPlugins – 2.4.16<br>Advanced Related Posts: by Advanced Related Posts Team – 1.4.5<br>Akismet Anti-spam: Spam Protection: by Automattic - Anti-spam Team – 5.3.3<br>Complianz Privacy Suite (GDPR/CCPA) premium: by Really Simple Plugins – 7.1.3<br>Disable Bloat for WordPress & WooCommerce: by Disable Bloat – 3.4.9<br>Yoast Duplicate Post: by Enrico Battocchi & Team Yoast – 4.5<br>FooBox Image Lightbox (Premium): by FooPlugins – 2.7.29<br>GenerateBlocks: by Tom Usborne – 1.9.1<br>GP Premium: by Tom Usborne – 2.4.1<br>LoginPress: by LoginPress – 3.1.1<br>MalCare WordPress Security Plugin - Malware Scanner, Cleaner, Security Firewall: by MalCare Security – 5.65<br>Newsletter - Google Analytics: by The Newsletter Team – 1.2.5<br>Newsletter - Extended Composer Blocks: by The Newsletter Team – 1.5.5<br>Newsletter - Subscribe on Comments: by The Newsletter Team – 1.1.8<br>Newsletter - Elastic Email: by The Newsletter Team – 1.2.2<br>Newsletter - Addons Manager and Support: by The Newsletter Team – 1.3.0<br>Newsletter - Geolocation: by The Newsletter Team – 1.3.0<br>Newsletter - Import/Export: by The Newsletter Team – 1.5.2<br>Newsletter - Leads Addon: by The Newsletter Team – 1.4.7<br>Newsletter - Reports and Retargeting: by The Newsletter Team – 4.5.9<br>Newsletter - WooCommerce: by The Newsletter Team – 1.9.5<br>Newsletter - WPForms Addon: by The Newsletter Team – 1.3.0<br>Newsletter - WP Users Addon: by The Newsletter Team – 1.4.5<br>Newsletter: by Stefano Lissa & The Newsletter Team – 8.4.7<br>Object Cache Pro: by Rhubarb Group – 1.21.2<br>Popup Maker: by Popup Maker – 1.19.0<br>FeedbackWP - Rate My Post - WP Rating System: by FeedbackWP – 4.1.2<br>Rank Math SEO PRO: by Rank Math – 3.0.68<br>Rank Math SEO: by Rank Math – 1.0.225<br>ShortPixel Adaptive Images: by ShortPixel – 3.9.3<br>UpdraftPlus - Backup/Restore: by UpdraftPlus.Com<br>DavidAnderson – 2.24.4.26<br><br>Use Any Font: by Dnesscarkey – 6.3.07<br>WooCommerce.com Update Manager: by Automattic – 1.0.3<br>WooCommerce Stripe Gateway: by WooCommerce – 8.6.1<br>WooCommerce PayPal Payments: by WooCommerce – 2.8.2<br>WooCommerce Shipping & Tax: by WooCommerce – 2.7.0<br>WooCommerce: by Automattic – 9.1.4<br>WP 2FA - Two-factor authentication for WordPress: by Melapress – 2.8.0<br>WP Go Maps - Gold Add-on: by WP Go Maps – 5.2.5<br>WP Go Maps - Pro Add-on: by WP Go Maps – 9.0.30<br>WP Go Maps (formerly WP Google Maps): by WP Go Maps (formerly WP Google Maps) – 9.0.40<br>WP Rocket: by WP Media – 3.16.3<br>WP to Buffer Pro: by WP Zinc – 5.1.5<br>wpDiscuz: by gVectors Team – 7.6.22<br>WPForms Lite: by WPForms – 1.9.0.1<br>Photo Engine (WP/LR Sync): by Jordy Meow – 6.4.0 Inactive Plugins (0) Dropin Plugins ()<br><br>advanced-cache.php: advanced-cache.php<br>object-cache.php: Object Cache Pro (Drop-in) Settings<br><br>API Enabled: –<br>Force SSL: –<br>Currency: USD ($)<br>Currency Position: left<br>Thousand Separator: ,<br>Decimal Separator: .<br>Number of Decimals: 2<br>Taxonomies: Product Types: external (external)<br>grouped (grouped)<br>simple (simple)<br>variable (variable)<br><br>Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)<br>exclude-from-search (exclude-from-search)<br>featured (featured)<br>outofstock (outofstock)<br>rated-1 (rated-1)<br>rated-2 (rated-2)<br>rated-3 (rated-3)<br>rated-4 (rated-4)<br>rated-5 (rated-5)<br><br>Connected to WooCommerce.com: ✔<br>Enforce Approved Product Download Directories: ✔<br>HPOS feature enabled: ✔<br>Order datastore: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore<br>HPOS data sync enabled: – Logging<br><br>Enabled: ✔<br>Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2<br>Retention period: 30 days<br>Level threshold: –<br>Log directory size: 418 KB WC Pages<br><br>Shop base: #6 - /shop/<br>Cart: #7 - /cart/ - Contains the woocommerce/cart block<br>Checkout: #8 - /checkout/ - Contains the woocommerce/checkout block<br>My account: #9 - /my-account/<br>Terms and conditions: #9190 - /privacy/ Theme<br><br>Name: GeneratePress Child<br>Version: 3.4.0.1722001541<br>Author URL: https://tomusborne.com<br>Child Theme: ✔<br>Parent Theme Name: GeneratePress<br>Parent Theme Version: 3.4.0<br>Parent Theme Author URL: https://tomusborne.com<br>WooCommerce Support: ✔ Templates<br><br>Overrides: – WooCommerce PayPal Payments<br><br>Onboarded: ✔<br>Shop country code: US<br>WooCommerce currency supported: ✔<br>Advanced Card Processing available in country: ✔<br>Pay Later messaging available in country: ✔<br>Webhook status: –<br>PayPal Vault enabled: –<br>ACDC Vault enabled: –<br>Logging enabled: –<br>Reference Transactions: –<br>Used PayPal Checkout plugin: –<br>Subscriptions Mode: Disabled Admin<br><br>Enabled Features: activity-panels<br>analytics<br>product-block-editor<br>coupons<br>core-profiler<br>customize-store<br>customer-effort-score-tracks<br>experimental-fashion-sample-products<br>shipping-smart-defaults<br>shipping-setting-tour<br>homescreen<br>navigation<br>product-custom-fields<br>remote-inbox-notifications<br>remote-free-extensions<br>payment-gateway-suggestions<br>shipping-label-banner<br>store-alerts<br>transient-notices<br>woo-mobile-welcome<br>launch-your-store<br><br>Disabled Features: experimental-blocks<br>import-products-task<br>marketing<br>minified-js<br>mobile-app-banner<br>onboarding<br>onboarding-tasks<br>pattern-toolkit-full-composability<br>product-pre-publish-modal<br>printful<br>settings<br>subscriptions<br>wc-pay-promotion<br>wc-pay-welcome-page<br>async-product-editor-category-field<br>product-editor-template-system<br><br>Daily Cron: ✔ Next scheduled: 2024-08-09 14:34:03 -07:00<br>Options: ✔<br>Notes: 64<br>Onboarding: completed Action Scheduler<br><br>Canceled: 1<br>Oldest: 2024-08-08 12:10:54 -0700<br>Newest: 2024-08-08 12:10:54 -0700<br><br>Complete: 367<br>Oldest: 2024-08-01 07:34:20 -0700<br>Newest: 2024-08-08 20:16:23 -0700<br><br>Failed: 5<br>Oldest: 2024-08-01 11:18:12 -0700<br>Newest: 2024-08-08 12:11:01 -0700<br><br>Pending: 7<br>Oldest: 2024-08-09 07:49:00 -0700<br>Newest: 2024-08-12 19:39:09 -0700 Status report information<br><br>Generated at: 2024-08-09 04:48:16 -07:00<br>

    As far as the errors, what appears on the screen is a grey screen with the standard “Your site has experienced a critical error” message.

    In the WooCommerce logs I see:

    Uncaught TypeError: array_merge(): Argument #2 must be of type array, string given in /home/1051729.cloudwaysapps.com/qnfntbetna/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/connect/class-wc-stripe-connect.php:153

    And a number of errors like this:

    Uncaught Error: Call to undefined function Automattic\WooCommerce\Internal\Orders\wc_get_page_screen_id() in /home/1051729.cloudwaysapps.com/qnfntbetna/public_html/wp-content/plugins/woocommerce/src/Internal/Orders/OrderAttributionController.php:504

    Thanks

    Plugin Support Adam Heckler

    (@adamkheckler)

    I suspect this is a PHP compatibility issue as mentioned in this bug report. I see from your status report that you’re on PHP 8.2, but you may need to talk to your host about downgrading to PHP 8.1 in order to resolve this error. In the meantime, I’ll talk to our engineering folks about our plan for support PHP 8.2.

    Thread Starter Cheryl

    (@tricheryltops)

    OK, well…the thing is that it was working prior to my changing the site URL and I have been on PHP 8.2 for a while and don’t really want to roll back.

    It only stopped working when I changed the site URL and then could not use the disconnect or edit key buttons — they just did not work.

    And then I tried to fix the problem by manually deleting the keys, uninstalling the plugin, removing tables that were leftover by the plugin and reinstalling it.

    Hey, @tricheryltops!

    OK, well…the thing is that it was working prior to my changing the site URL and I have been on PHP 8.2 for a while and don’t really want to roll back.

    I understand that!

    Would you be able to create a staging site to run this test and check if the issue persists?

    This way you don’t have to change anything on the live website and we can confirm if the issue is related or not. 😃

    You can ask your host if they offer this service, or you can use WP Staging for quickly spinning up a new test site.

    Looking forward to your reply.

    Have a wonderful day!

    Plugin Support Adam Heckler

    (@adamkheckler)

    the thing is that it was working prior to my changing the site URL and I have been on PHP 8.2 for a while

    It may be that the code that’s generating the error only runs when connecting to Stripe. And if you first connected your site to Stripe a while ago, you might well have been running an older PHP version. So it’s possible that the error was not thrown back then, but it is being thrown now that you’ve upgraded to PHP 8.2 and are trying to connect again.

    This is why we think it’s a good idea to downgrade (either on live or a staging site) and see if the problem still occurs. 🙂 Thanks!

    Thread Starter Cheryl

    (@tricheryltops)

    Well, I added WooCommerce to this website within the last two week, but I had it on a subdomain and then changed the URL to the non-subdomain. I have been running PHP 8.2 for a while and it worked the first time.

    Thread Starter Cheryl

    (@tricheryltops)

    But just to test it, I downgraded, briefly, to PHP 8.1 and tried again. I still had the error, so I’m upgrading the PHP version.

    Hi again @tricheryltops,

    But just to test it, I downgraded, briefly, to PHP 8.1 and tried again. I still had the error, so I’m upgrading the PHP version.

    Thank you for confirming this for us.

    As you’ve already tried all possible troubleshooting steps, but the issue seems to persist. Could you try rolling back the plugin to a previous version using WP Rollback, temporarily, and check if you experience the same error message?

    I recommend trying the above steps from a staging site to avoid messing with your live site. You can find the steps to create a staging site here.

    Plugin Support Adam Heckler

    (@adamkheckler)

    This error will be fixed in version 8.7.0, which we plan to release tomorrow.

    Thread Starter Cheryl

    (@tricheryltops)

    OK, thanks for the heads up. I still don’t have a prompt for a new update, but I’ll watch for it and update it when available.

    Plugin Support Adam Heckler

    (@adamkheckler)

    I still don’t have a prompt for a new update, but I’ll watch for it and update it when available.

    Yeah, we had to delay the Stripe release until today. It’s out as of 5 hours ago. 🙂

    Thread Starter Cheryl

    (@tricheryltops)

    I updated the plugin this morning. Unfortunately, I had the same critical error when I connected Stripe.

    After that, I was able to return to payments settings and Payment and Payout show as Enabled, but the webhook shows as disabled. If I click any of the “Refresh,” “Configure Connection,” or “Disconnect” buttons nothing happens.

    Plugin Support omarfpg a11n

    (@omarfpg)

    Hi @tricheryltops,

    I updated the plugin this morning. Unfortunately, I had the same critical error when I connected Stripe.

    Thank you for the update. To learn more, the errors you’re getting are still the same as you mentioned before:

    In the WooCommerce logs I see:

    Uncaught TypeError: array_merge(): Argument #2 must be of type array, string given in /home/1051729.cloudwaysapps.com/qnfntbetna/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/connect/class-wc-stripe-connect.php:153

    And a number of errors like this:

    Uncaught Error: Call to undefined function Automattic\WooCommerce\Internal\Orders\wc_get_page_screen_id() in /home/1051729.cloudwaysapps.com/qnfntbetna/public_html/wp-content/plugins/woocommerce/src/Internal/Orders/OrderAttributionController.php:504

    Same errors, same lines (the numbers after the colon represent the line on the file), nothing changed?

    After that, I was able to return to payments settings and Payment and Payout show as Enabled, but the webhook shows as disabled. If I click any of the “Refresh,” “Configure Connection,” or “Disconnect” buttons nothing happens.

    Can you check on your browser’s console for errors when clicking on “Refresh”, “Configure Connection”, or “Disconnect”, pelase?

    Thanks!
    -OP

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘Connecting to Stripe causes critical error’ is closed to new replies.