XStore related – fatal error on mobile version

This topic has 7 replies, 2 voices, and was last updated 1 years, 10 months ago ago by Rose Tyler

  • Avatar: rumenwow
    rumenwow
    Participant
    November 25, 2022 at 09:29

    Dear Support Team,

    On the mobile version of my website I detected the following issue:

    Fatal error: Uncaught Error: Object of class WP_Error could not be converted to string in /home/tanyarts/public_html/wp-content/plugins/xstore-amp/includes/actions/filters.php:54 Stack trace: #0 /home/tanyarts/public_html/wp-includes/class-wp-hook.php(308): XStore_AMP_filters->{closure}(”) #1 /home/tanyarts/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #2 /home/tanyarts/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #3 /home/tanyarts/public_html/wp-content/plugins/woocommerce/templates/content-product.php(57): do_action(‘woocommerce_aft…’) #4 /home/tanyarts/public_html/wp-includes/template.php(785): require(‘/home/tanyarts/…’) #5 /home/tanyarts/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(284): load_template(‘/home/tanyarts/…’, false) #6 /home/tanyarts/public_html/wp-content/plugins/xstore-amp/xstore-amp.php(1256): wc_get_template_part(‘content’, ‘product’) #7 /home/tanyarts/public_html/wp-content/plugins/xstore-amp/xstore-amp.php(1488): XStore_AMP->create_carousel(Object(WP_Query), ‘product’, Array) #8 /home/tanyarts/public_html/wp-content/plugins/xstore-amp/includes/templates/page.php(191): XStore_AMP->get_products(‘random’, Array, Array) #9 /home/tanyarts/public_html/wp-content/plugins/xstore-amp/xstore-amp.php(841): include_once(‘/home/tanyarts/…’) #10 /home/tanyarts/public_html/wp-content/plugins/xstore-amp/xstore-amp.php(633): XStore_AMP->load_template(‘/home/tanyarts/…’, 4414, Object(WP_Post)) #11 /home/tanyarts/public_html/wp-includes/class-wp-hook.php(308): XStore_AMP->amp_prepare_render(”) #12 /home/tanyarts/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #13 /home/tanyarts/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #14 /home/tanyarts/public_html/wp-includes/template-loader.php(13): do_action(‘template_redire…’) #15 /home/tanyarts/public_html/wp-blog-header.php(19): require_once(‘/home/tanyarts/…’) #16 /home/tanyarts/public_html/index.php(17): require(‘/home/tanyarts/…’) #17 {main} thrown in /home/tanyarts/public_html/wp-content/plugins/xstore-amp/includes/actions/filters.php on line 54

    I noticed that when I disable the XStore AMP plugin, the error message disappears on the mobile, but then desktop crashes.

    Please, contact administrator
    for this information.
    6 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 25, 2022 at 09:41

    Hello,

    Thank you so much for purchasing our theme and contacting our support center.
    Please provide FTP access.
    If you do not know how to create FTP contact with your hosting provider, they will help you.

    Regards

    Avatar: rumenwow
    rumenwow
    Participant
    November 28, 2022 at 10:04

    Done.

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 28, 2022 at 11:13

    Hello,

    FTP directory is empty – https://prnt.sc/oXBZqST-VXGf
    Check the destination folder of our user, or ask your hosting provider for help with this, we need access to your WP installation.

    Regards

    Avatar: rumenwow
    rumenwow
    Participant
    November 28, 2022 at 11:33

    Is it ok now?

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 28, 2022 at 12:27

    Yes, thanks.
    Another specialist will get back to you after a detailed review. Please be patient and do not change access.

    Regards

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 29, 2022 at 16:39

    You are using XStore AMP and there was a bug in code (if brands product taxonomy was enabled in Theme Options)
    This bug is fixed for you (in plugins/xstore-amp/includes/actions/filters.php ) and also the fix will be included in the next plugin update.

    Regards

  • Viewing 7 results - 1 through 7 (of 7 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.