Critical Uncaught Error: Call to a member function get_cart_subtotal() on null

This topic has 10 replies, 4 voices, and was last updated 2 weeks, 4 days ago ago by Tony Rodriguez

  • Avatar: Wikafy
    Wikafy
    Participant
    July 7, 2026 at 14:05

    I am having this critical error repeatedly

    Critical Uncaught Error: Call to a member function get_cart_subtotal() on null
    File: /wp-content/plugins/et-core-plugin/app/controllers/elementor/theme-builder/header/mobile-menu.php
    Line: 1187

    9 Answers
    Avatar: Ayan Rahman
    Ayan Rahman
    Support staff
    July 7, 2026 at 14:41

    Hi,

    Thank you for reaching out to us.

    Could you please provide temporary wp-admin and FTP access? We will check what can be done to help you.
    To grant WP-Admin access, please proceed to create a new user account with an administrator role through your WordPress Dashboard. Once the account is established, you may securely transmit the username and password to us via the Private Content section designated for this purpose.

    For FTP access, we require the following details: FTP host, FTP username, FTP password, FTP port, and FTP encryption type. If you need assistance in creating these credentials, please reach out to your hosting provider who will guide you through the process.

    Warm Regards,
    The 8Theme Team

    Avatar: Wikafy
    Wikafy
    Participant
    July 8, 2026 at 11:27

    Here you go, I shared a temporary access to the website, note this is the website in production and not a staging version.

    If it is neccesary a develoment version, ust let me know.

    Please contact administrator
    for this information.
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    July 8, 2026 at 14:10

    Hello, Wikafy,

    Unfortunately, we are unable to log in to your server via FTP, as we are receiving the following error: “Connection timed out after 20 seconds of inactivity.”

    Best regards,
    8Theme Team

    Files is visible for topic creator and
    support staff only.
    Avatar: Wikafy
    Wikafy
    Participant
    July 8, 2026 at 14:23

    Do not use Quick connection, use sftp connection protocole instead.

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    July 8, 2026 at 14:28

    Unfortunately, we are still encountering an error. Please find the details in the attached files.

    Best regards,
    The 8Theme Team

    Files is visible for topic creator and
    support staff only.
    Avatar: Wikafy
    Wikafy
    Participant
    July 8, 2026 at 15:49

    Use Sftp, and in port: 22555

    That way, it will work fine.

    Please contact administrator
    for this information.
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    July 9, 2026 at 07:34

    Hello, Wikafy,

    Thank you for your message. We have resolved this issue by making changes in the following file:

    et-core-plugin/app/controllers/elementor/theme-builder/header/mobile-menu.php

    These changes will also be included in the next update.

    Best regards,
    8Theme Team

    Avatar: Wikafy
    Wikafy
    Participant
    July 9, 2026 at 15:05

    Thanks for the support! My topic “Critical Uncaught Error: Call to a member function get_cart_subtotal() on null” has been successfully resolved.

    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    July 9, 2026 at 15:05

    Dear Wikafy,

    We really appreciate your time and engagement within the WordPress & WooCommerce community

    Your feedback drives every improvement we make in XStore — helping us deliver a smoother and more flexible experience with each update.

    Your input makes a real difference.

    Topic closed.
    The 8Theme Team

  • Viewing 10 results - 1 through 10 (of 10 total)

The issue related to '‘Critical Uncaught Error: Call to a member function get_cart_subtotal() on null’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.