wp_remote_post() failed
-
The checkout page will spin and spin, but only sometimes. Is this a woocommerce problem when I see that there is this failure in the woocommerce status page?
“Multibyte String:
Remote Post: ? wp_remote_post() failed. Contact your hosting provider. 500” Is this error related to the spinning issue?
-
Hi @em40
The reason behind endless loading/spinner on the checkout page may vary from site to site.
You can check the troubleshooting guidelines in this support document.
In order for us to take a closer look into your setup, could you please share a copy of your site’s System Status?
You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”. Once you’ve done that, paste it here in your response.
This is the system status when this error occurred:
=======### WordPress Environment ### WordPress address (URL): https://twistedstemflowers.com Site address (URL): https://twistedstemflowers.com WC Version: 5.9.0 REST API Version: ? 5.9.0 WC Blocks Version: ? 6.1.0 Action Scheduler Version: ? 3.3.0 WC Admin Version: ? 2.8.0 Log Directory Writable: WP Version: 5.8.2 WP Multisite: WP Memory Limit: 1 GB WP Debug Mode: WP Cron: Language: en_US External object cache: ### Server Environment ### Server Info: Apache PHP Version: 7.4.26 PHP Post Max Size: 256 MB PHP Time Limit: 120 PHP Max Input Vars: 1000 cURL Version: 7.79.1 OpenSSL/1.1.1l SUHOSIN Installed: MySQL Version: 5.7.36 Max Upload Size: 64 MB Default Timezone is UTC: fsockopen/cURL: SoapClient: DOMDocument: GZip: Multibyte String: Remote Post: ? wp_remote_post() failed. Contact your hosting provider. 500 Remote Get: ### Database ### WC Database Version: 5.9.0 WC Database Prefix: wp_ Total Database Size: 23.92MB Database Data Size: 23.06MB Database Index Size: 0.86MB wp_woocommerce_sessions: Data: 0.02MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_order_items: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_woocommerce_order_itemmeta: Data: 0.03MB + Index: 0.02MB + Engine MyISAM wp_woocommerce_tax_rates: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_actionscheduler_actions: Data: 0.01MB + Index: 0.02MB + Engine MyISAM wp_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_actionscheduler_logs: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_cf_forms: Data: 0.07MB + Index: 0.00MB + Engine MyISAM wp_cf_form_entries: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_cf_form_entry_meta: Data: 0.02MB + Index: 0.01MB + Engine MyISAM wp_cf_form_entry_values: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_cf_pro_messages: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_cf_queue_failures: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_cf_queue_jobs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_commentmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_comments: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_eum_logs: Data: 0.51MB + Index: 0.00MB + Engine MyISAM wp_itsec_bans: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_itsec_dashboard_events: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_itsec_distributed_storage: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_itsec_fingerprints: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_itsec_geolocation_cache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_itsec_lockouts: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_itsec_logs: Data: 0.49MB + Index: 0.04MB + Engine MyISAM wp_itsec_mutexes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_itsec_opaque_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_itsec_temp: Data: 0.02MB + Index: 0.02MB + Engine MyISAM wp_itsec_user_groups: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_options: Data: 1.87MB + Index: 0.07MB + Engine MyISAM wp_postmeta: Data: 19.18MB + Index: 0.25MB + Engine MyISAM wp_posts: Data: 0.41MB + Index: 0.05MB + Engine MyISAM wp_termmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_terms: Data: 0.01MB + Index: 0.02MB + Engine MyISAM wp_term_relationships: Data: 0.01MB + Index: 0.02MB + Engine MyISAM wp_term_taxonomy: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_tm_taskmeta: Data: 0.03MB + Index: 0.01MB + Engine MyISAM wp_tm_tasks: Data: 0.02MB + Index: 0.01MB + Engine MyISAM wp_usermeta: Data: 0.04MB + Index: 0.02MB + Engine MyISAM wp_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine MyISAM wp_wc_admin_note_actions: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wp_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_customer_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_order_product_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wc_order_stats: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_product_meta_lookup: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_wc_reserved_stock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_yoast_indexable: Data: 0.21MB + Index: 0.07MB + Engine MyISAM wp_yoast_indexable_hierarchy: Data: 0.01MB + Index: 0.04MB + Engine MyISAM wp_yoast_migrations: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_yoast_primary_term: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_yoast_seo_links: Data: 0.01MB + Index: 0.00MB + Engine MyISAM ### Post Type Counts ### attachment: 173 custom_css: 2 et_footer_layout: 1 et_header_layout: 1 et_pb_layout: 2 et_template: 5 et_theme_builder: 1 nav_menu_item: 11 page: 12 post: 2 product: 100 revision: 30 seedprod: 1 shop_order: 31 ### Security ### Secure connection (HTTPS): Hide errors from visitors: ### Active Plugins (11) ### Akismet Anti-Spam: by Automattic – 4.2.1 iThemes Security: by iThemes – 8.0.2 Caldera Forms: by Caldera Forms – 1.9.5 Cookie Notice & Compliance for GDPR / CCPA: by Hu-manity.co – 2.2.0 Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 3.1.5 Schema & Structured Data for WP & AMP: by Magazine3 – 1.9.89 Easy Updates Manager: by Easy Updates Manager Team – 9.0.10 WooCommerce Elavon Converge Gateway: by SkyVerge – 2.11.4 WooCommerce: by Automattic – 5.9.0 Yoast SEO: by Team Yoast – 17.6 WP-Optimize - Clean, Compress, Cache: by David Anderson Ruhani Rabin Team Updraft – 3.1.12 ### Inactive Plugins (0) ### ### Dropin Plugins (1) ### advanced-cache.php: advanced-cache.php ### 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) 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: ### WC Pages ### Shop base: #411 - /shop/ Cart: #10 - /cart/ Checkout: #11 - /checkout/ My account: #12 - /my-account/ Terms and conditions: #453 - /terms-and-conditions/ ### Theme ### Name: Twisted Stem Child Version: 1.0 Author URL: https://webdesignjustforyou.com Child Theme: Parent Theme Name: Divi Parent Theme Version: 4.14.1 Parent Theme Author URL: http://www.elegantthemes.com WooCommerce Support: ### Templates ### Overrides: ### Elavon Converge Credit Card ### Environment: Production Tokenization Enabled: Debug Mode: Off ### Action Scheduler ### Complete: 27 Oldest: 2021-10-29 21:19:20 +0000 Newest: 2021-11-29 19:59:23 +0000 ### Status report information ### Generated at: 2021-11-30 04:01:02 +08:00Also, please note that it does not always spin and spin, some transactions go through. I went through the link for troubleshooting guidelines and followed it as much as I could. I added “add_filter( ‘woocommerce_defer_transactional_emails’, ‘__return_true’ );” to the child theme functions.php file too. If there were a conflict with theme and plugins, wouldn’t it always occur?
Hello there,
The same error is present in the system status report you have provided, please contact your hosting provider first regarding the error, and let us know how it goes.
Thanks.
I provided the status report to the server tech support and they said that the server was not causing the error and I should check with woocommerce support.
Hi @em40,
500 errors are usually caused by PHP fatal errors, which are obfuscated by WordPress. Search through your server’s error logs to find the exact error and script location; it is often caused by customizations or plugins which are referencing a deprecated class/function.
Please go on and enable debug logging in WordPress. To do that, edit the wp-config.php file in the root folder of the site on the server. Here’s more information on debugging in WordPress:
* https://ww.wp.xz.cn/support/article/debugging-in-wordpress/
Alternatively, you could use a debugging plugin such as the ones listed here:
* https://ww.wp.xz.cn/support/article/debugging-in-wordpress/#debugging-plugins
Let us know how that goes.
Hi,
We haven’t heard back from you in a while, so I’m marking this thread as resolved – we’ll be here if and/or when you are ready to continue.
The topic ‘wp_remote_post() failed’ is closed to new replies.