Critical Uncaught Error: Call to a member function get_cart() on null in /

This topic has 2 replies, 2 voices, and was last updated 7 hours, 12 minutes ago ago by Rose Tyler

  • Avatar: slw250@hotmail.com
    slw250@hotmail.com
    Participant
    March 11, 2025 at 20:58

    Hello
    We having a Critical Uncaught Error, after we update the theme, The error detail is in the PCA please take a look and resolve it, I am also giving you the admin access login information if you need it
    Also when we tried to search, the search items coming up in dropdown but when you hit enter it give the time out error

    best regards

    Content is visible for topic creator and
    support staff only.
    1 Answer
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 12, 2025 at 08:11

    Hello,

    Thank you for reaching out to us.

    The error message in the text clearly indicates that the issue is related to a file within the child theme. By default, the child theme we provide does not include this file, which means it was either added or modified by you or a developer to whom you granted access.

    Please note that we are not responsible for any third-party code added to the child theme. Therefore, you will need to locate and resolve the issue within the specified file on your own. However, we can provide you with some basic recommendations: https://prnt.sc/bps7-HIURYO8
    https://www.8theme.com/documentation/xstore/troubleshooting/your-theme-contains-outdated-copies-of-some-woocommerce-template-files/

    As a temporary solution, you may try renaming the content-product.php file within the child theme. This will disable its functionality, which should remove the error. However, please be aware that any custom modifications made to this file will also be disabled. Renaming the file can help determine whether the issue is related to the modifications made within it, particularly in connection with the search functionality you mentioned.

    At first glance, the search appears to be working correctly, as shown in the following screenshot:
    https://prnt.sc/5NZ6eEUNDv91

    Maybe this article will be helpful for the mentioned time-out error – https://www.wpbeginner.com/wp-tutorials/how-to-fix-the-504-gateway-timeout-error-in-wordpress/

    We hope this information is helpful.

    Best regards,
    8Theme’s Team

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

You must be logged in to reply to this topic.Log in/Sign up

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