Critical error when trying to edit pages

This topic has 3 replies, 2 voices, and was last updated 2 hours, 38 minutes ago ago by Carty

  • Avatar: Carty
    Carty
    Participant
    October 13, 2024 at 13:11

    Hello team,

    I just updated to latest version of xstore theme and since then, I cannot edit any page.

    It says there has been a critical error and the details sent in admin email.

    The following was sent in email:
    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 6.6.2
    Active theme: XStore Child (version 0.0.2)
    Current plugin: (version )
    PHP version 7.4.33

    Error Details
    =============
    An error of type E_ERROR was caused in line 4917 of the file /home/butterlypillow/public_html/wp-content/themes/xstore/framework/woo.php. Error message: Uncaught Error: Cannot use object of type WP_Error as array in /home/butterlypillow/public_html/wp-content/themes/xstore/framework/woo.php:4917
    Stack trace:
    #0 /home/butterlypillow/public_html/wp-includes/class-wp-hook.php(324): {closure}(Array, Object(WC_Product_Variable))
    #1 /home/butterlypillow/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array)
    #2 /home/butterlypillow/public_html/wp-content/plugins/woocommerce/includes/class-wc-structured-data.php(370): apply_filters(‘woocommerce_str…’, Array, Object(WC_Product_Variable))
    #3 /home/butterlypillow/public_html/wp-includes/class-wp-hook.php(324): WC_Structured_Data->generate_product_data(Object(WC_Product_Variable))
    #4 /home/butterlypillow/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array)
    #5 /home/butterlypillow/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #6 /home/butterlypillow/public_html/wp-content/themes/xstore/woocommerce/content-single-product-builder.php(103): do_action(

    —————————————————————

    I will provide login details in private content area.

    Please help me out.

    Thank you.

    Regards,
    Carty..

    Content is visible for topic creator and
    support staff only.
    2 Answers
    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    October 14, 2024 at 05:49

    Hello, @Carty,

    Thank you for contacting us and for using XStore.

    1/ We suggest disabling all third-party plugins (including cache plugins and CDN ) that do not come bundled with XStore (https://xstore.helpscoutdocs.com/article/36-included-plugins ), clearing the cache of the browser, and then checking again. It is possible that one of the additional plugins is causing the issue.

    If the issue still persists, please keep all third-party plugins deactivated on your site and grant permission to debug your site, which includes deactivating all third-party plugins and on-site Customization. This will allow us to investigate and assist you accordingly.

    Please note that you should take a complete backup of your site before proceeding.

    2/ Provide us with temporary FTP access.

    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.

    Thank you for your cooperation and we look forward to hearing from you soon.

    Best Regards,
    8Theme’s Team

    Avatar: Carty
    Carty
    Participant
    October 18, 2024 at 16:46

    Hi, I have deactivated all plugins except WooCommerce and Xstore code. Then tried to edit the page using regular WP Admin post screen and still got the same error.

    So definitely it is not a plugin issue.

    I have temporarily activated all my plugins now because without Elementor and other plugins my site appears broken.

    However, I do provide full authorisation to you during debug to simply deactivate all the plugins and check. Please help me with the fix.

    I also renewed the support license today.

    Please help. I cannot edit any page on my site now 🙁

    Full cpanel access provided in private content area.

    Thank you.

    Content is visible for topic creator and
    support staff only.
  • Viewing 3 results - 1 through 3 (of 3 total)

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

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