• Resolved filip785

    (@filip785)


    Hi there,

    I have issue with WooCommerce, when I’m on the My Account page the links don’t work. Basically only dashboard shows, but the others do not. For example, when I click on orders link, it navigates to the https://localhost/my-account/orders but the content stays one of the Dashboard (same for the other links).

    I did lot of research on this and this is basically issue I found someone post on YT (the solution however didn’t work, putting it only as reference): https://www.youtube.com/watch?v=eedbyC_rPEw
    I found other similar questions on this forum but nothing seemed to solve my issue.

    This issue started seemingly out of blue, as I was hooking up new website, and then it just started doing this. From then on what I did to try and solve issue: install Health Check plugin, entered troubleshooting mode, with only WooCommerce enabled & default theme and the issue still persisted. Then I went into the code and tracked the issue to the wc-template-functions.php file, specifically woocommerce_account_content() function. The issue is that the function is using the $wp->query_vars, but in my case this only contains the page id of my account page. When I initialize $wp->query_vars (just to test) to something like: $wp->query_vars['orders'] = 0; before the foreach loop, the orders page then displays. Also as the result of this, accessing https://localhost/my-account?orders indeed displays the orders page (works for others too, downloads, account details, etc).

    WooCommerce status report:

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://localhost
    Site address (URL): https://localhost
    WC Version: 3.9.2
    REST API Version: ? 1.0.7
    Log Directory Writable: ?
    WP Version: 5.3.2
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: sr_RS
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache/2.4.41 (Fedora)
    PHP Version: 7.4.3
    PHP Post Max Size: 100 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    cURL Version: 7.66.0
    OpenSSL/1.1.1d-fips
    
    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.3.21-MariaDB
    Max Upload Size: 100 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ? Your server does not have the SoapClient class enabled - some gateway plugins which use SOAP may not work as expected.
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 3.9.2
    WC Database Prefix: wp_
    Total Database Size: 14.30MB
    Database Data Size: 10.72MB
    Database Index Size: 3.58MB
    wp_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_comments: Data: 0.06MB + Index: 0.09MB + Engine InnoDB
    wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_options: Data: 2.30MB + Index: 0.14MB + Engine InnoDB
    wp_postmeta: Data: 3.48MB + Index: 1.92MB + Engine InnoDB
    wp_posts: Data: 3.13MB + Index: 0.14MB + Engine InnoDB
    wp_revslider_css: Data: 0.13MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_css_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_layer_animations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_layer_animations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_navigations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_navigations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_sliders: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_sliders_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_slides: Data: 0.14MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_slides_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_static_slides: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_static_slides_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_termmeta: Data: 0.08MB + Index: 0.06MB + Engine InnoDB
    wp_terms: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    wp_term_relationships: Data: 0.41MB + Index: 0.19MB + Engine InnoDB
    wp_term_taxonomy: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    wp_um_metadata: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_usermeta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yith_wcwl: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yith_wcwl_lists: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    attachment: 180
    banner: 13
    custom_css: 3
    customize_changeset: 24
    footer: 4
    header: 15
    megamenu: 13
    nav_menu_item: 255
    page: 41
    post: 20
    product: 95
    product_variation: 7
    revision: 28
    scheduled-action: 2
    shop_order: 8
    title_section: 3
    um_directory: 1
    um_form: 4
    wpcf7_contact_form: 4
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    					Your store is not using HTTPS. Learn more about HTTPS and SSL Certificates.
    Hide errors from visitors: ?
    
    ### Active Plugins (17) ###
    
    AJAX Search for WooCommerce: by Damian Góra – 1.6.2
    Contact Form 7: by Takayuki Miyoshi – 5.1.6
    Currency Switcher for WooCommerce: by WP Wham – 2.11.5 – Not tested with the active version of WooCommerce
    Enovathemes add-ons: by Enovathemes – 2.0
    Envato Market: by Envato – 2.0.3
    Health Check & Troubleshooting: by The www.remarpro.com community – 1.4.2
    WPBakery Page Builder: by Michael M - WPBakery.com – 6.1
    Loco Translate: by Tim Whitlock – 2.3.1
    One Click Demo Import: by ProteusThemes – 2.5.2
    Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 3.1.3
    Slider Revolution: by ThemePunch – 6.1.8
    Ultimate Member: by Ultimate Member – 2.1.4
    WPC Smart Compare for WooCommerce: by WPClever.net – 2.8.2
    WooCommerce Admin: by WooCommerce – 0.26.1
    WooCommerce: by Automattic – 3.9.2
    YITH WooCommerce Quick View: by YITH – 1.3.18
    YITH WooCommerce Wishlist: by YITH – 3.0.7
    
    ### Inactive Plugins (0) ###
    
    ### Must Use Plugins (1) ###
    
    Health Check Troubleshooting Mode: by  – 1.7.0
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: RSD (RSD)
    Currency Position: left_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: –
    
    ### WC Pages ###
    
    Shop base: #3569 - /shop/
    Cart: #10 - /cart/
    Checkout: #11 - /checkout/
    My account: #12 - /my-account/
    Terms and conditions: ? Page not set
    
    ### Theme ###
    
    Name: Mobimax
    Version: 2.3
    Author URL: https://www.enovathemes.com
    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 ###
    
    Archive Template: Your theme has a woocommerce.php file
    you will not be able to override the woocommerce/archive-product.php custom template since woocommerce.php has priority over archive-product.php. This is intended to prevent display issues.
    
    Overrides: –
    
    ### Action Scheduler ###
    
    Complete: 2
    Oldest: 2020-02-28 22:40:18 +0000
    Newest: 2020-02-29 17:15:23 +0000
    
    Pending: 0
    Oldest: –
    Newest: –
    
    Canceled: 0
    Oldest: –
    Newest: –
    
    In-progress: 0
    Oldest: –
    Newest: –
    
    Failed: 0
    Oldest: –
    Newest: –
    
    

    Do you have any ideas on how to solve this issue, please? Thanks for taking time to read this.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Yuki K a11n.

    (@yukikatayama)

    Automattic Happiness Engineer

    Hi @filip785,

    Great job doing a lot of troubleshooting already! Have you tried deactivating and deleting WooCommerce and upload it again?

    Plugin Support AW a11n

    (@slash1andy)

    Automattic Happiness Engineer

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    Hi,

    I tried everything, including deleting and reinstalling WooCommerce. Nothing, still the same issue. Any other ideas?

    Thanks!

    Finally! It was this plugin: Custom Query String Reloaded

    shopbeb

    (@shopbeb)

    Hello, I have been super frustrated with the myriad of nonfunction with my Woocommerce Account Page. Nothing works! When I login with a test account each tab reloads a blank page except for the dashboard with the normal startup text string. Now, my customers have been frustrated wanting to login butt forget password – and when selecting the “lost password” feature it also loads a blank page. So with no success, I’m turning to support. Please I really need help on this matter. Appreciate your expert advice. Reference:
    intentionalcbd.com

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘My Account Page tab endpoints not working’ is closed to new replies.