Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter xarvan

    (@xarvan)

    It shows up on top of the header like this: https://ibb.co/BjgsKbc
    It also shows up on the dashboard above everything else. I have to point out that when this error occurs if you refresh the page it won’t show up anymore. As if it’s something that happens upon inial page load. Not sure if this is related, just sharing my experinece.

    Thread Starter xarvan

    (@xarvan)

    Thank you for getting back to me and the exaplanation. I am currently running on 8.0 on a GoDaddy hosting.

    Thread Starter xarvan

    (@xarvan)

    Hello again, I looked into this matter a bit further. I’m using a side cart on my website and as I mentioned here before it breaks the site. I contacted the guys the side cart plugin developers and they told me this:

    The error is coming from WC’s cart file.
    
    Here is the log, you can also check the log file in wp-content folder, the file name is debug.log
    
    When side cart requests Woocommerce to give product total, WC throws error.
    It works fine when plugin is disabled because no other code on your site is requesting product total on your home page.
    The issue is with the wallet plugin, when you add wallet top up, it acts like a product & so when you request product’s total from woocommerce by using the following code
    
    apply_filters( 'woocommerce_cart_item_subtotal', WC()->cart->get_product_subtotal( $_product, $cart_item['quantity'] ), $cart_item, $cart_item_key );
    
    it throws the following error code.
    This means that the product created by wallet plugin isn’t compatible with WC functions.
    
    [19-Aug-2021 20:21:08 UTC] PHP Fatal error:  Uncaught TypeError: Unsupported operand types: string * int in /home/xarvan/SpoonFetish.com/wp-content/plugins/woocommerce/includes/class-wc-cart.php:2032
    
    Stack trace:
    
    #0 /home/xarvan/SpoonFetish.com/wp-content/plugins/woocommerce-side-cart-premium/templates/xoo-wsc-body.php(94): WC_Cart->get_product_subtotal()
    
    #1 /home/xarvan/SpoonFetish.com/wp-content/plugins/woocommerce-side-cart-premium/includes/xoo-framework/class-xoo-helper.php(57): include('/home/xarvan/Sp...')
    
    #2 /home/xarvan/SpoonFetish.com/wp-content/plugins/woocommerce-side-cart-premium/templates/xoo-wsc-container.php(61): Xoo_Helper->get_template()
    
    #3 /home/xarvan/SpoonFetish.com/wp-content/plugins/woocommerce-side-cart-premium/includes/xoo-framework/class-xoo-helper.php(57): include('/home/xarvan/Sp...')
    
    #4 /home/xarvan/SpoonFetish.com/wp-content/plugins/woocommerce-side-cart-premium/templates/xoo-wsc-markup.php(24): Xoo_Helper->get_template()
    
    #5 /home/xarvan/SpoonFetish.com/wp-content/plugins/woocommerce-side-cart-premium/includes/xoo-framework/class-xoo-helper.php(57): include('/home/xarvan/Sp...')
    
    #6 /home/xarvan/SpoonFetish.com/wp-content/plugins/woocommerce-side-cart-premium/includes/class-xoo-wsc-frontend.php(147): Xoo_Helper->get_template()
    
    #7 /home/xarvan/SpoonFetish.com/wp-includes/class-wp-hook.php(303): Xoo_Wsc_Frontend->cart_markup()
    
    #8 /home/xarvan/SpoonFetish.com/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
    
    #9 /home/xarvan/SpoonFetish.com/wp-includes/plugin.php(470): WP_Hook->do_action()
    
    #10 /home/xarvan/SpoonFetish.com/wp-includes/general-template.php(3031): do_action()
    
    #11 /home/xarvan/SpoonFetish.com/wp-content/themes/hello-elementor/footer.php(23): wp_footer()
    
    #12 /home/xarvan/SpoonFetish.com/wp-includes/template.php(770): require_once('/home/xarvan/Sp...')
    
    #13 /home/xarvan/SpoonFetish.com/wp-includes/template.php(716): load_template()
    
    #14 /home/xarvan/SpoonFetish.com/wp-includes/general-template.php(92): locate_template()
    
    #15 /home/xarvan/SpoonFetish.com/wp-content/themes/hello-elementor/index.php(37): get_footer()
    
    #16 /home/xarvan/SpoonFetish.com/wp-includes/template-loader.php(106): include('/home/xarvan/Sp...')
    
    #17 /home/xarvan/SpoonFetish.com/wp-blog-header.php(19): require_once('/home/xarvan/Sp...')
    
    #18 /home/xarvan/SpoonFetish.com/index.php(17): require('/home/xarvan/Sp...')
    
    #19 {main}
    
      thrown in /home/xarvan/SpoonFetish.com/wp-content/plugins/woocommerce/includes/class-wc-cart.php on line 2032
    
     
    
    I know it’s hard to understand.
    The bottom line is you can install any other well designed cart plugin which requests “product total” on your home page & the page will crash.
    I have installed my competitor’s plugin “XT floating cart” plugin on your site, you can activate it from the dashboard and test.
    
    You can forward this message to “wallet” support team and they will understand.

    Is there a way to get around this?
    Please let me know.

    Thread Starter xarvan

    (@xarvan)

    Thank you for getting back to me. I’m using Hello Elementor, it’s a very simple Theme but I’ll try your solution and see what happens.

    Thank you

    Thread Starter xarvan

    (@xarvan)

    Thank you for letting me know. Much appreciated.

    Cheers

    Thread Starter xarvan

    (@xarvan)

    Thank you for getting back to me and being accomodating. Love the plugin and love the support. Will get in touch through email.

    Thank you

    Thread Starter xarvan

    (@xarvan)

    Hi, I reverted the plugin version to 2.11 and it started working properly again. Not sure what in the new version is not working properly that’s causing the issue. I had to do this cause my client is about to have a big presentation and needed the site to work. I know I have to update it at some point though. Hopefully by then the problem is resolved.

    Thank you
    Cheers

    Thread Starter xarvan

    (@xarvan)

    Hello, thank you for getting back to me. I did the Reindexing and disabled Cache results but it didn’t solve the problem. Please let me know if I should buy the Pro version to have this issue looked at. It’s a bit of an emergency for this client so I’d be happy to pay for support.

    Thank you

    How did you guys revert? Where to download the old version?

    This happened to my site when I upgraded this morning ..

    Warning: require_once(lib/yit-plugin-panel-sidebar.php): failed to open stream: No such file or directory in /home/parmis/public_html/wp-content/plugins/yith-woocommerce-zoom-magnifier/plugin-fw/yit-plugin-registration-hook.php on line 25

    Fatal error: require_once(): Failed opening required ‘lib/yit-plugin-panel-sidebar.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/parmis/public_html/wp-content/plugins/yith-woocommerce-zoom-magnifier/plugin-fw/yit-plugin-registration-hook.php on line 25

    Can’t access anything unless you delete the plugin from the FTP.

    Please Advise

Viewing 10 replies - 1 through 10 (of 10 total)