Support » Plugin: WooCommerce Extended Coupon Features FREE » Fatal error Cannot redeclare wcdp_custom_cart_calculated_total

  • SLV


    I get an: Cannot redeclare wcdp_custom_cart_calculated_total() when i select the Apply automatically option.

    Fatal error: Cannot redeclare wcdp_custom_cart_calculated_total() (previously declared in /home/###/themes/electro-child/functions.php on line 123

    How to fix?

Viewing 1 replies (of 1 total)
  • Plugin Author Soft79


    This must be fixed in your child theme. Use function_exists(‘wcdp_custom_cart_calculated_total’) before defining the function to verify if it doesn’t already exist.

Viewing 1 replies (of 1 total)
  • The topic ‘Fatal error Cannot redeclare wcdp_custom_cart_calculated_total’ is closed to new replies.