Woocommerce 502 bad gateway – Urgent
-
Hi all,
I need urgent help please with Woocommerce plugin. There is a 502 bad gateway error sometimes only on /myaccount/, /cart/ and /checkout/ pages. The rest of the wordpress pages are working fine, even the product pages are fine as well. It seems like doesn’t able to capture user account detail and return 502 bad gateway.
The page I need help with: [log in to see the link]
-
WordPress Environment WordPress address (URL): https://www.mostyoung.com.my
Site address (URL): https://www.mostyoung.com.my
WC Version: 7.6.0
REST API Version: ? 7.6.0
WC Blocks Version: ? 9.8.4
Action Scheduler Version: ? 3.5.4
Log Directory Writable: ?
WP Version: 6.2
WP Multisite: –
WP Memory Limit: 2 GB
WP Debug Mode: –
WP Cron: –
Language: en_US
External object cache: – Server Environment Server Info: nginx/1.20.2
PHP Version: 8.2.5
PHP Post Max Size: 128 MB
PHP Time Limit: 300
PHP Max Input Vars: 1000
cURL Version: 7.29.0
NSS/3.53.1 SUHOSIN Installed: –
MySQL Version: 10.5.15-MariaDB
Max Upload Size: 128 MB
Default Timezone is UTC: ?
fsockopen/cURL: ?
SoapClient: ?
DOMDocument: ?
GZip: ?
Multibyte String: ?
Remote Post: ?
Remote Get: ? Database WC Database Version: 7.6.0
WC Database Prefix: table01
Total Database Size: 95.77MB
Database Data Size: 71.73MB
Database Index Size: 24.04MB
table01woocommerce_sessions: Data: 0.06MB + Index: 0.02MB + Engine InnoDB
table01woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
table01woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
table01woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
table01woocommerce_order_items: Data: 0.08MB + Index: 0.02MB + Engine InnoDB
table01woocommerce_order_itemmeta: Data: 0.41MB + Index: 0.34MB + Engine InnoDB
table01woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
table01woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
table01woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
table01woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
table01woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
table01woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
table01woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
table01woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
table01actionscheduler_actions: Data: 0.05MB + Index: 0.13MB + Engine InnoDB
table01actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
table01actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
table01actionscheduler_logs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
table01cartflows_ca_cart_abandonment: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
table01cartflows_ca_email_history: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
table01cartflows_ca_email_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
table01cartflows_ca_email_templates_meta: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
table01commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
table01comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
table01csp3_subscribers: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
table01e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
table01formmaker: Data: 0.08MB + Index: 0.00MB + Engine InnoDB
table01formmaker_backup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
table01formmaker_blocked: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
table01formmaker_cookies: Data: 0.03MB + Index: 0.00MB + Engine InnoDB
table01formmaker_display_options: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
table01formmaker_groups: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
table01formmaker_query: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
table01formmaker_sessions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
table01formmaker_submits: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
table01formmaker_themes: Data: 0.14MB + Index: 0.00MB + Engine InnoDB
table01formmaker_views: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
table01itsec_opaque_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
table01links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
table01lws_wr_achieved_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
table01lws_wr_historic: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
table01masterslider_options: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
table01masterslider_sliders: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
table01moppm_user_login_info: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
table01ms_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
table01nextend2_image_storage: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
table01nextend2_section_storage: Data: 0.08MB + Index: 0.14MB + Engine InnoDB
table01nextend2_smartslider3_generators: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
table01nextend2_smartslider3_sliders: Data: 0.06MB + Index: 0.05MB + Engine InnoDB
table01nextend2_smartslider3_sliders_xref: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
table01nextend2_smartslider3_slides: Data: 0.11MB + Index: 0.19MB + Engine InnoDB
table01options: Data: 11.03MB + Index: 0.13MB + Engine InnoDB
table01postmeta: Data: 56.11MB + Index: 20.56MB + Engine InnoDB
table01posts: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
table01pos_warehouse: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
table01sbi_feeds: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
table01sbi_feed_caches: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
table01sbi_instagram_feeds_posts: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
table01sbi_instagram_feed_locator: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
table01sbi_instagram_posts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
table01sbi_sources: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
table01smush_dir_images: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
table01snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
table01termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
table01terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
table01term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
table01term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
table01usermeta: Data: 1.52MB + Index: 0.63MB + Engine InnoDB
table01users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
table01wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
table01wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
table01wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
table01wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
table01wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
table01wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
table01wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
table01wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
table01wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
table01wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
table01wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
table01wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
table01wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
table01wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
table01wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
table01wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
table01wdr_order_discounts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
table01wdr_order_item_discounts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
table01wdr_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
table01wfpklist_template_data: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
table01woo_shippment_provider: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
table01wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
table01wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
table01wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
table01yoast_indexable: Data: 0.16MB + Index: 0.08MB + Engine InnoDB
table01yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
table01yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
table01yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
table01yoast_seo_links: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
table01yoast_seo_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB Post Type Counts attachment: 277
bnfw_notification: 1
br_notice: 1
cpo_client: 12
cpo_feature: 8
cpo_portfolio: 17
cpo_service: 10
cpo_slide: 6
cpo_team: 11
cpo_testimonial: 7
custom_css: 4
elementor_library: 49
elementor-hf: 1
form-maker: 1
jp_img_sitemap: 2
jp_sitemap: 2
jp_sitemap_master: 2
kaliforms_forms: 1
lws-wre-event: 4
lws-wre-pool: 1
nav_menu_item: 23
page: 21
popup: 1
post: 1
product: 11
responsive_accordion: 1
revision: 1397
seedprod: 1
shop_coupon: 15058
shop_order: 336
shop_order_refund: 2
spt_shortcodes: 1
spt_testimonial: 2
wp_global_styles: 1
wpforms: 1
wphb_minify_group: 8
wpmm_theme: 3
wpsm_accordion_pro: 9 Security Secure connection (HTTPS): ?
Hide errors from visitors: ? Active Plugins (32) Accordion Pro By Wpshopmart: by wpshopmart – 5.8
Starter Templates: by Brainstorm Force – 3.2.1
Brave Conversion Engine: by Brave – 0.6.0
PublishPress Capabilities: by PublishPress – 2.7.0
Cart Notices for WooCommerce: by BeRocket – 3.5.7.7
Coming Soon Page, Maintenance Mode, Landing Pages & WordPress Website Builder by SeedProd: by SeedProd – 6.15.7
WooCommerce Coupon Generator: by Jeroen Sormani – 1.2.0
EasyEmbedChat: by – 1.0
Elementor: by Elementor.com – 3.12.1
ELEX Dynamic Pricing and Discounts for WooCommerce Basic Version: by ELEXtensions – 1.3.0
Email Verification for WooCommerce: by WPFactory – 2.5.5
Form Maker: by 10Web Form Builder Team – 1.15.11
Google Analytics for WordPress by MonsterInsights: by MonsterInsights – 8.14.1
Elementor Header & Footer Builder: by Brainstorm Force
Nikhil Chavan – 1.6.13 Smash Balloon Instagram Feed: by Smash Balloon – 6.1.3
Jetpack: by Automattic – 12.0
Points and Rewards for WooCommerce: by WP Swings – 1.5.0
Pre-Orders for WooCommerce: by Bright Plugins – 1.2.11
WooCommerce PDF Invoices, Packing Slips, Delivery Notes and Shipping Labels: by WebToffee – 4.0.8
Sales Countdown Timer: by VillaTheme – 1.0.11
senangPay: by senangPay – 3.2.1
Smart Slider 3: by Nextend – 3.5.1.14
Super Socializer: by Team Heateor – 7.13.47
Real Testimonials: by ShapedPlugin LLC – 2.6.4
Upsell Order Bump Offer for WooCommerce: by WP Swings – 2.2.1
Password Strength Settings for WooCommerce: by Daniel Santoro – 3.0.0
Advanced Shipment Tracking for WooCommerce: by zorem – 3.5.3
WooCommerce Price Based on Country: by Oscar Gare – 3.1.3
WooCommerce: by Automattic – 7.6.0
WP Fastest Cache: by Emre Vona – 1.1.4
WP Mail SMTP: by WPForms – 3.7.0
Smush Pro: by WPMU DEV – 3.9.0 Inactive Plugins (4) MyRewards: by Long Watch Studio – 5.0.8
WPForms Lite: by WPForms – 1.8.1.2
WPMU DEV Dashboard: by WPMU DEV – 4.11.18
WP Smart Preloader: by catchsquare – 1.15.1 Dropin Plugins (2) advanced-cache.php: advanced-cache.php
maintenance.php: maintenance.php Settings API Enabled: ?
Force SSL: –
Currency: MYR (RM)
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: –
Enforce Approved Product Download Directories: –
Order datastore: WC_Order_Data_Store_CPT WC Pages Shop base: ? Page not set
Cart: #23968 - /mycart/
Checkout: #7 - /checkout/
My account: #4780 - /%e6%88%91%e7%9a%84%e8%b4%a6%e5%8f%b7/
Terms and conditions: ? Page not set Theme Name: Astra
Version: 4.1.3
Author URL: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
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: – Geolocation debug info Default customer location: base
MaxMind GeoIP database: ? The MaxMind GeoIP Database does not exist - Geolocation will not function.
MaxMind GeoIP license: ? Geolocation has not been configured. You must enter a valid license key on the MaxMind integration settings page.
MM_COUNTRY_CODE: ?
GEOIP_COUNTRY_CODE: ?
HTTP_CF_IPCOUNTRY: ?
HTTP_X_COUNTRY_CODE: ?
HTTP_X_REAL_IP: ?
HTTP_X_FORWARDED_FOR: ?
REMOTE_ADDR: 161.142.152.132
Real external IP: 161.142.152.132
WCPBC_USE_REMOTE_ADDR: –
Geolocation Test: ?The MaxMind GeoIP database is required. PBC Settings Version: 3.1.3
Base location: MY:KUL
Base currency: MYR
Price Based On: billing
Shipping: –
Test mode: –
Test country: –
Load products price in background: –
Prices entered with tax: –
Calculate tax based on: shipping
Display prices in the shop: excl Zone Pricing singapore zone_id: singapore
enabled: yes
name: singapore
countries: SG
currency: SGD
exchange_rate: 0.5022831050228311
auto_exchange_rate: no
disable_tax_adjustment: no
order: 9999 Admin Enabled Features: activity-panels
analytics
coupons
customer-effort-score-tracks
import-products-task
experimental-fashion-sample-products
shipping-smart-defaults
shipping-setting-tour
homescreen
marketing
multichannel-marketing
mobile-app-banner
navigation
onboarding
onboarding-tasks
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: block-editor-feature-enabled
minified-js
new-product-management-experience
product-variation-management
settings Daily Cron: ? Next scheduled: 2023-04-20 21:37:26 +08:00
Options: ?
Notes: 132
Onboarding: completed Action Scheduler Complete: 83
Oldest: 2023-04-16 02:58:03 +0000
Newest: 2023-04-20 12:24:04 +0000 Failed: 3
Oldest: 2023-04-16 03:35:20 +0000
Newest: 2023-04-20 06:43:11 +0000 Pending: 2
Oldest: 2023-04-21 03:54:12 +0000
Newest: 2023-04-21 12:24:04 +0000 Status report information Generated at: 2023-04-20 22:37:47 +08:00
`there’s a fatal error log as well happening on the same day :
2023-04-16T02:51:16+00:00 CRITICAL Uncaught ArgumentCountError: Too few arguments to function Alg_WC_Email_Verification_Logouts::block_unverified_user_login_by_wp_set_cookie(), 1 passed in /var/www/vhosts/mostyoung.com.my/httpdocs/wp-includes/class-wp-hook.php on line 292 and exactly 4 expected in /var/www/vhosts/mostyoung.com.my/httpdocs/wp-content/plugins/emails-verification-for-woocommerce/includes/class-alg-wc-ev-logouts.php:277
Stack trace:0 /var/www/vhosts/mostyoung.com.my/httpdocs/wp-includes/class-wp-hook.php(292): Alg_WC_Email_Verification_Logouts->block_unverified_user_login_by_wp_set_cookie()
1 /var/www/vhosts/mostyoung.com.my/httpdocs/wp-includes/plugin.php(212): WP_Hook->apply_filters()
2 /var/www/vhosts/mostyoung.com.my/httpdocs/wp-includes/pluggable.php(1017): apply_filters()
3 /var/www/vhosts/mostyoung.com.my/httpdocs/wp-login.php(1282): wp_clear_auth_cookie()
4 {main}
thrown in /var/www/vhosts/mostyoung.com.my/httpdocs/wp-content/plugins/emails-verification-for-woocommerce/includes/class-alg-wc-ev-logouts.php on line 277
Hi @mostyoungit
Thanks for reaching out!
I am sorry to hear that you are receiving
502 bad gateway error
on some pages on your site.I browsed your site, added this product to my cart, however, nothing is happening when I clicked the
Add to Cart
button. The product is not being added to my cart even after several tries. I tried other products but still receive the same result.For us to investigate this further, can you please try to switch to the default Storefront theme and only WooCommerce plugin is enabled, create a test order and see if you are still receiving the error message?
If so, then this kind of problem is usually caused by your theme or a third-party plugin present on your site. We can run a conflict test to verify this. I’d recommend cloning your site to a staging environment and performing the tests described on this guide without modifying your live site or impacting customers. Many hosts provide staging facilities, so it’s worth checking in with them. It’s also possible to do it using the free WP Staging plugin.
If this was caused by a third-party plugin present on your site, it would be best to reach out to the developers for further assistance here.
there’s a fatal error log as well happening on the same day :
As per the error logs, these are pointing to the third-party plugin Email Verification for WooCommerce.
Since this is a third-party plugin that we don’t provide support for based on our Support Policy, I recommend that you reach out to the developers of the plugin for further assistance. They will be better equipped to help you resolve any issues you’re experiencing with the plugin.
https://www.ads-software.com/support/plugin/emails-verification-for-woocommerce/
All the best and hopefully, the issue will be fixed soon.
- The topic ‘Woocommerce 502 bad gateway – Urgent’ is closed to new replies.