• carstentrier

    (@carstentrier)


    Hello.

    I checked the informations in my theme “Flatsome”. (Everything is updated, incl. WordPress and woocommerce etc.
    I am no coder, just a “user”.

    I found the below fatal error information – that maybe needs your attention:
    (If you want access, drop
    2018-11-26T13:07:20+00:00 CRITICAL Uncaught Error: Call to a member function managing_stock() on boolean in /var/www/vhosts/hosting110487.a2f42.netcup.net/webseiten/hotel_makler_berlin/wp-content/plugins/woocommerce-cart-stock-reducer-master/includes/class-woocommerce-cart-stock-reducer.php:685
    Stack trace:
    #0 /var/www/vhosts/hosting110487.a2f42.netcup.net/webseiten/hotel_makler_berlin/wp-content/plugins/woocommerce-cart-stock-reducer-master/includes/class-woocommerce-cart-stock-reducer.php(975): WC_Cart_Stock_Reducer->get_item_managing_stock(false)
    #1 /var/www/vhosts/hosting110487.a2f42.netcup.net/webseiten/hotel_makler_berlin/wp-content/plugins/woocommerce-cart-stock-reducer-master/includes/class-woocommerce-cart-stock-reducer.php(164): WC_Cart_Stock_Reducer->get_virtual_stock_available(false, false)
    #2 /var/www/vhosts/hosting110487.a2f42.netcup.net/webseiten/hotel_makler_berlin/wp-includes/class-wp-hook.php(286): WC_Cart_Stock_Reducer->quantity_input_args(Array, false)
    #3 /var/www/vhosts/hosting110487.a2f42.netcup.net/webseiten/hotel_makler in /var/www/vhosts/hosting110487.a2f42.netcup.net/webseiten/hotel_makler_berlin/wp-content/plugins/woocommerce-cart-stock-reducer-master/includes/class-woocommerce-cart-stock-reducer.php in Zeile 685
    `

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author James Golovich

    (@jamesgol)

    Hello,

    I’m trying to reproduce this issue and I am unable. What type of products are you using? I can’t seem to find a situation that would cause WooCommerce to send those arguments over.

    If you send me <[email protected]) a copy of your theme I can see if the issue is related to that.

    My client’s site is getting a similar error:

    PHP Fatal error:  Uncaught Error: Call to a member function managing_stock() on boolean in /www/wp-content/plugins/woocommerce-cart-stock-reducer/includes/class-woocommerce-cart-stock-reducer.php:694
    Stack trace:
    #0 /www/wp-content/plugins/woocommerce-cart-stock-reducer/includes/class-woocommerce-cart-stock-reducer.php(579): WC_Cart_Stock_Reducer->get_item_managing_stock(false, 818, 683)
    #1 /www/wp-includes/class-wp-hook.php(286): WC_Cart_Stock_Reducer->add_cart_validation(true, 818, 1, 683, Array)
    #2 /www/wp-includes/plugin.php(203): WP_Hook->apply_filters(true, Array)
    #3 /www/wp-content/plugins/woocommerce/includes/class-wc-form-handler.php(913): apply_filters('woocommerce_add...', true, 818, 1, 683, Array)
    #4 /www/wp-content/plugins/woocommerce/includes/class-wc-form-handler.php(723): WC_Form_Handler::add_to_cart_handler_variable(818)
    #5 /www/wp-includes/class-wp-hook.php(286): WC_Form_Handler::add_to_cart_action('')
    #6 /www/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
    #7 /www/wp-includes/plugin.p in /www/wp-content/plugins/woocommerce-cart-stock-reducer/includes/class-woocommerce-cart-stock-reducer.php on line 694

    Happy to provide you access @jamesgol if you want to take a look. I’ll email you.

    I have the same. I’ll email you @jamesgol

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal error according Log’ is closed to new replies.