PHP Fatal error: Uncaught ArgumentCountError
-
Any idea why PHP is throwing an error with this:
[9:17 AM, 6/22/2022] David Radovanovic: PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function no_price(), 1 passed in /var/www/whatsthebigidea.com/htdocs/wp-includes/class-wp-hook.php on line 307 and exactly 2 expected in /var/www/whatsthebigidea.com/htdocs/wp-content/themes/brooklyn-child-KarayMetalsNEW/functions.php:232 Stack trace: #0 /var/www/whatsthebigidea.com/htdocs/wp-includes/class-wp-hook.php(307): no_price('<span class="wo...') #1 /var/www/whatsthebigidea.com/htdocs/wp-includes/plugin.php(191): WP_Hook->apply_filters('<span class="wo...', Array) #2 /var/www/whatsthebigidea.com/htdocs/wp-content/plugins/woocommerce/includes/class-wc-cart.php(291): apply_filters('woocommerce_car...', '<span class="wo...') #3 /var/www/whatsthebigidea.com/htdocs/wp-content/plugins/woocommerce/includes/wc-cart-functions.php(302): WC_Cart->get_total() #4 /var/www/whatsthebigidea.com/htdocs/wp-content/plugins/woocommerce/templates/cart/cart-totals.php(99): wc_cart_totals_order_total_html() #5 /var/www/whatsthebigidea.com/htdocs/wp-content/plugins/woocommer in /var/www/whatsthebigidea.com/htdocs/wp-content/themes/brooklyn-child-KarayMetalsNEW/functions.php on line 232The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘PHP Fatal error: Uncaught ArgumentCountError’ is closed to new replies.