Title: Undefined variable: loader_fields
Last modified: November 20, 2016

---

# Undefined variable: loader_fields

 *  Resolved [George wp-website-mastery](https://wordpress.org/support/users/lernerconsult/)
 * (@lernerconsult)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/undefined-variable-loader_fields/)
 * Notice: Undefined variable: loader_fields in /home/USERNAME/public_html/wp-content/
   plugins/woo-price-calculator/woo-price-calculator/Controller/CalculatorController.
   php on line 126

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [George wp-website-mastery](https://wordpress.org/support/users/lernerconsult/)
 * (@lernerconsult)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/undefined-variable-loader_fields/#post-8460574)
 * Also this
    NOTICE: wp-content/plugins/woo-price-calculator/woo-price-calculator.
   php:162 – Undefined index: add-to-cart
 * Debug Bar shows this call trace:
 * require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’),
   include(‘/themes/Divi/page.php’), get_header, locate_template, load_template,
   require_once(‘/themes/Divi/header.php’), wp_head, do_action(‘wp_head’), call_user_func_array,
   wp_print_head_scripts, do_action(‘wp_print_scripts’), call_user_func_array, WC_Frontend_Scripts::
   localize_printed_scripts, WC_Frontend_Scripts::localize_script, WC_Frontend_Scripts::
   get_script_data, apply_filters(‘woocommerce_add_to_cart_redirect’), call_user_func_array,
   Woo_Price_Calculator->filter_woocommerce_add_to_cart_redirect
 *  Plugin Author [Altos](https://wordpress.org/support/users/sefin/)
 * (@sefin)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/undefined-variable-loader_fields/#post-8473713)
 * These 2 notices will be fixed in the next release.
    You can disable the debug
   mode to hide these notices. So, we recommend you to disable the debug mode on
   any Production website for security reasons.
 * Regards,
    Paul
 *  Plugin Author [Altos](https://wordpress.org/support/users/sefin/)
 * (@sefin)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/undefined-variable-loader_fields/#post-8502028)
 * Dear lernerconsulting, if we managed to resolve your issue, please close this
   topic.
 * Thanks,
    Simone

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Undefined variable: loader_fields’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/woo-price-calculator_cbcbcc.svg)
 * [WooPrice Calculator](https://wordpress.org/plugins/woo-price-calculator/)
 * [Support Threads](https://wordpress.org/support/plugin/woo-price-calculator/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-price-calculator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-price-calculator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-price-calculator/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Altos](https://wordpress.org/support/users/sefin/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/undefined-variable-loader_fields/#post-8502028)
 * Status: resolved