• Resolved silentjma

    (@silentjma)


    
    2022-05-03T06:06:08+00:00 CRITICAL Uncaught ArgumentCountError: Too few arguments to function wc_gzd_cart_product_deposit_amount(), 1 passed in /wordpress/core/5.9.3/wp-includes/class-wp-hook.php on line 309 and at least 2 expected in /srv/htdocs/wp-content/plugins/woocommerce-germanized/includes/wc-gzd-cart-functions.php:438
    Stack trace:
    #0 /wordpress/core/5.9.3/wp-includes/class-wp-hook.php(309): wc_gzd_cart_product_deposit_amount('<span class="wo...')
    #1 /wordpress/core/5.9.3/wp-includes/plugin.php(189): WP_Hook->apply_filters('<span class="wo...', Array)
    #2 /srv/htdocs/wp-content/themes/#####/woocommerce/cart/mini-cart.php(46): apply_filters('woocommerce_car...', '<span class="wo...', Array, '5d2c0048ae871db...')
    #3 /wordpress/plugins/woocommerce/6.4.1/includes/wc-core-functions.php(345): include('/srv/htdocs/wp-...')
    #4 /wordpress/plugins/woocommerce/6.4.1/includes/wc-template-functions.php(2226): wc_get_template('cart/mini-cart....', Array)
    #5 /srv/htdocs/wp-content/themes/#####/inc/woocommerce/wc-functions.php(466): woocommerce_mini_cart()
    #6 /wordpress/core/5.9.3/wp-includes/class-wp-hook.php(307): goya_single_ajax_add_to_cart_refresh(Object(WP))
    #7 /wordpress/core/5.9.3/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
    #8 /wordpress/core/5.9.3/wp-includes/plugin.php(522): WP_Hook->do_action(Array)
    #9 /wordpress/core/5.9.3/wp-includes/class-wp.php(771): do_action_ref_array('wp', Array)
    #10 /wordpress/core/5.9.3/wp-includes/functions.php(1310): WP->main('')
    #11 /wordpress/core/5.9.3/wp-blog-header.php(16): wp()
    #12 /wordpress/core/5.9.3/index.php(17): require('/wordpress/core...')
    #13 {main}
      thrown in /srv/htdocs/wp-content/plugins/woocommerce-germanized/includes/wc-gzd-cart-functions.php in Zeile 438

    `

    • This topic was modified 2 years, 7 months ago by silentjma.
    • This topic was modified 2 years, 7 months ago by silentjma.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author vendidero

    (@vendidero)

    Hi,

    which theme are you currently using? Seems like an issue related to your current theme which doesn’t pass the right number of arguments to the Woo filter.

    Cheers

    Plugin Author vendidero

    (@vendidero)

    Hi,

    as a workaround until a patch is available: Please navigate to WooCommerce > Settings > Germanized > Shopmarks > Cart Dropdown and save the settings again. The error should not occur on adding new products to cart.

    Cheers

    Plugin Author vendidero

    (@vendidero)

    Fixed in 3.9.1/3.9.2.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Woocommerce down due to a fatal error’ is closed to new replies.