Support » Plugin: WooCommerce » 504 Error on Certain Pages

  • Resolved annabealizabeth

    (@annabealizabeth)


    Hi, I’m having issues with a WooCommerce installation. I’ve tried every suggestion I could find on the web for this. I

    So far, with WooCommerce activated I get a 504 error on 2 specific actions/pages. All other pages load, save and refresh normally.
    1. Saving products (Changes do get saved but you have to navigate to the page again to continue editing)
    2. Trying to disable plugins (plugins do not get disabled, page loads for a long time then goes to the 504 error page)

    I was able to login with FTP and disable plugins and I have been able to narrow it down to WooCommerce as the problem. I removed it and reinstalled it but the issue persisted. In addition I have also tried:
    1. Different browsers
    2. Different devices
    3. WP-Sweep (with and with out Woo installed)
    4. Clearing the website cache
    5. I don’t have a VPN running
    6. I don’t have a website security plugin installed or running
    7. I switched to the Storefront theme and disabled all plugins but Woo and still had the issue.
    8. I contacted my host (Siteground) and they said things looked fine on their end.
    9. I made a backup and installed it in Local (by Flywheel) and while I didn’t get any 504 errors, the page just loads forever and never refreshes.
    10. I put in the support ticket with Woo about 24hr ago and haven’t heard back. Hoping to hear tomorrow, but…

    I’m totally at a loss for what to do besides deleting it and starting over, but I’m not sure where I went wrong. The only difference I know is that this site is on a subdomain, instead of a root domain, but that shouldn’t make a difference as far as I know. Any help would be appreciated.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Support RK a11n

    (@riaanknoetze)

    Hi there,

    Can you share a copy of your status report found under **WooCommerce > Status** as well as the server error logs that highlight the 504 errors?

    Hey there, i got the same issue with my WooCommerce shop and tried to find the reason for that.
    My hosting provider said, some other customers also have this problem.
    The only way to fix it for me, was to cleanup the database tables of WooCommerce by hand, which is not really a solution for the live system (My provider tested it in a copy of the system)

    Exact same issue here, tried all the same steps. Shop has always worked fine, but after the latest 4.9.1 update i get a 504 as soon as i save a product or want to enable/disable any random plugin. It only occurs after the WooCommerce plugin was activated.

    I re-installed WordPress using the current database, tried using the default storefront theme and not using any other plugins.

    My webhost (TransIP) said the same thing, nothing wrong on their side..
    I’m going to try installing WooCommerce 4.8 and see if this helps.

    Thread Starter annabealizabeth

    (@annabealizabeth)

    Woo Status report below.

    ### WordPress Environment ###

    WordPress address (URL): https://staging.annascovel.com
    Site address (URL): https://staging.annascovel.com
    WC Version: 4.9.1
    REST API Version: ✔ 4.9.1
    WC Blocks Version: ✔ 4.0.0
    Action Scheduler Version: ✔ 3.1.6
    WC Admin Version: ✔ 1.8.3
    Log Directory Writable: ✔
    WP Version: 5.6
    WP Multisite: –
    WP Memory Limit: 768 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: en_US
    External object cache: –

    ### Server Environment ###

    Server Info: Apache
    PHP Version: 7.3.23
    PHP Post Max Size: 128 MB
    PHP Time Limit: 120
    PHP Max Input Vars: 3000
    cURL Version: 7.59.0
    OpenSSL/1.0.2r

    SUHOSIN Installed: –
    MySQL Version: 5.6.40-84.0-log
    Max Upload Size: 128 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔

    ### Database ###

    WC Database Version: 4.9.1
    WC Database Prefix: wpv6_
    Total Database Size: 4.37MB
    Database Data Size: 2.92MB
    Database Index Size: 1.45MB
    wpv6_woocommerce_sessions: Data: 0.09MB + Index: 0.02MB + Engine InnoDB
    wpv6_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpv6_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpv6_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wpv6_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpv6_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpv6_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wpv6_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpv6_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpv6_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpv6_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpv6_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpv6_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpv6_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpv6_actionscheduler_actions: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
    wpv6_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpv6_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpv6_actionscheduler_logs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpv6_ce4wp_abandoned_checkout: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpv6_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpv6_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wpv6_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpv6_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpv6_mailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpv6_nf3_actions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpv6_nf3_action_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpv6_nf3_chunks: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpv6_nf3_fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpv6_nf3_field_meta: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    wpv6_nf3_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpv6_nf3_form_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpv6_nf3_objects: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpv6_nf3_object_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpv6_nf3_relationships: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpv6_nf3_upgrades: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    wpv6_options: Data: 1.52MB + Index: 0.08MB + Engine InnoDB
    wpv6_postmeta: Data: 0.13MB + Index: 0.03MB + Engine InnoDB
    wpv6_posts: Data: 0.06MB + Index: 0.06MB + Engine InnoDB
    wpv6_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpv6_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpv6_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpv6_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpv6_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpv6_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wpv6_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpv6_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpv6_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpv6_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpv6_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpv6_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpv6_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wpv6_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wpv6_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpv6_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wpv6_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpv6_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpv6_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB

    ### Post Type Counts ###

    attachment: 45
    customize_changeset: 1
    custom_css: 2
    nav_menu_item: 14
    page: 8
    post: 3
    product: 2
    product_variation: 4
    revision: 1
    wp_block: 2

    ### Security ###

    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔

    ### Active Plugins (6) ###

    All-in-One WP Migration: by ServMask – 7.33
    Child Theme Generator: by Serafino Corriero – 2.2.6.1
    Jetpack by WordPress.com: by Automattic – 9.3.1
    Fonts Plugin | Google Fonts Typography: by Fonts Plugin – 2.4.0
    WooCommerce: by Automattic – 4.9.1
    WP-Sweep: by Lester ‘GaMerZ’ Chan – 1.1.3

    ### Inactive Plugins (0) ###

    ### Settings ###

    API Enabled: –
    Force SSL: –
    Currency: USD ($)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: variable (variable)
    Taxonomies: Product Visibility: outofstock (outofstock)
    Connected to WooCommerce.com: –

    ### WC Pages ###

    Shop base: #52 – /catalogue/
    Cart: #131 – /cart/
    Checkout: #133 – /checkout/
    My account: #135 – /my-account/
    Terms and conditions: ❌ Page not set

    ### Theme ###

    Name: JessiBees
    Version: 1.0
    Author URL:
    Child Theme: ✔
    Parent Theme Name: Twenty Twenty-One
    Parent Theme Version: 1.1
    Parent Theme Author URL: https://wordpress.org/
    WooCommerce Support: ✔

    ### Templates ###

    Overrides: –

    ### Action Scheduler ###

    Complete: 13
    Oldest: 2021-01-23 04:52:02 +0000
    Newest: 2021-01-25 04:17:36 +0000

    `

    Thread Starter annabealizabeth

    (@annabealizabeth)

    Interestingly, when I created a brand new installation on a local WP site I did not have this issue. I need to double check but I’m pretty sure they are the same version.

    Additionally I got this back from WooCommerce support that someone has started a thread on the same issue here:

    https://github.com/woocommerce/woocommerce/issues/28911

    @annabealizabeth you seem to have helped me here! I can confirm that the snippet provided on the github page worked for me:

    //TEMPORARY BUGFIX FOR WOOCOMMERCE "PHONING HOME" - REMOVE AFTER WOOC FIXES
    add_filter('woocommerce_admin_features', 'pk_woocommerce_admin_features');
    function pk_woocommerce_admin_features($features) {
    	if(($key = array_search('remote-inbox-notifications', $features)) !== false) {
    		unset($features[$key]);
    	}
    	return $features ;
    }

    In the mean time i’ll have to wait for a fix from WC.
    Thanks a million!

    Thread Starter annabealizabeth

    (@annabealizabeth)

    Ok cool! I haven’t had a chance to try it yet but I’ll give it a shot on me lunch break. 🙂

    I have had essentially the same problem. I’m a bit confused – are we meant to be waiting for an update to be released, moving the discussion to github, or implementing one of several fixes that have already been posted by various people? (In my case we can wait, as the site is functioning more or less normally, although I can’t update stock levels or activate other plugins, etc.)

    Thanks

    Thread Starter annabealizabeth

    (@annabealizabeth)

    Ok update. So I never got a chance to login and add this code today, but I get home, login and Woo has an update. I ran it and the functionality seems to be restored. I can disable plugins and update products.

    However I did see some people (I think on the gitHub thread above) say that the update did not fix it for them. So… I don’t know.

    For me the WooCommerce Update also fixed the problems

    Plugin Support abwaita a11n

    (@abwaita)

    Glad to hear that the update fixed.

    In cases where the update does not fix this, I’d recommend posting directly on the GitHub issue: https://github.com/woocommerce/woocommerce-admin/issues/6168

    That said, I’ll mark this thread as resolved now. If you have any further questions, I recommend creating a new thread.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘504 Error on Certain Pages’ is closed to new replies.