• Resolved feri6

    (@feri6)


    I get fatal errors continuously:

    PHP Fatal error:  Uncaught ArgumentCountError: Too few arguments to function Alg_WC_PQ_Core::get_product_qty_default(), 1 passed in /wp-content/plugins/product-quantity-for-woocommerce/includes/class-alg-wc-pq-core.php on line 1358 and exactly 2 expected in /wp-content/plugins/product-quantity-for-woocommerce/includes/class-alg-wc-pq-core.php:2139
    Stack trace:
    #0 /wp-content/plugins/product-quantity-for-woocommerce/includes/class-alg-wc-pq-core.php(1358): Alg_WC_PQ_Core->get_product_qty_default(445)
    #1 /wp-includes/class-wp-hook.php(307): Alg_WC_PQ_Core->set_quantity_input_args(Array, Object(WC_Product_Simple))
    #2 /wp-includes/plugin.php(189): WP_Hook->apply_filters(Array, Array)
    #3 /wp-content/plugins/woocommerce/includes/wc-template-functions.php(1789): apply_filters('woocommerce_qua...', Array, Object(WC_Product in /wp-content/plugins/product-quantity-for-woocommerce/includes/class-alg-wc-pq-core.php on line 2139

    WooCommerce v6.4
    Plugin v4.2.1
    PHP v7.3.33

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Fatal error’ is closed to new replies.