Title: Fatal Error with CFF
Last modified: December 7, 2017

---

# Fatal Error with CFF

 *  Resolved [davidslager](https://wordpress.org/support/users/davidslager/)
 * (@davidslager)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-with-cff/)
 * I submit the size top I want and add it to the cart. After submission (and on
   the same page) I get this:
 * Fatal error: Uncaught Error: Call to undefined method CPCFF_ADDONS::populate()
   in /home/rtcmade2/public_html/wp-content/plugins/calculated-fields-form/addons/
   woocommerce.addon.php:457 Stack trace: #0 /home/rtcmade2/public_html/wp-includes/
   class-wp-hook.php(286): CPCFF_WooCommerce->display_form(”) #1 /home/rtcmade2/
   public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array)#
   2 /home/rtcmade2/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(
   Array) #3 /home/rtcmade2/public_html/wp-content/plugins/woocommerce/templates/
   single-product/add-to-cart/simple.php(39): do_action(‘woocommerce_bef…’) #4 /
   home/rtcmade2/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.
   php(209): include(‘/home/rtcmade2/…’) #5 /home/rtcmade2/public_html/wp-content/
   plugins/woocommerce/includes/wc-template-functions.php(1019): wc_get_template(‘
   single-product/…’) #6 /home/rtcmade2/public_html/wp-includes/class-wp-hook.php(
   286): woocommerce_simple_add_to_cart(”) #7 /home/rtcmade2/public_html/wp-incl
   in /home/rtcmade2/public_html/wp-content/plugins/calculated-fields-form/addons/
   woocommerce.addon.php on line 457
 * Any ideas what’s going on?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffatal-error-with-cff%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-with-cff/#post-9761696)
 * Hello [@davidslager](https://wordpress.org/support/users/davidslager/),
 * My apologies for the inconvenience, I’ve detected and solved the issue in an 
   new update of the plugin, please, download and install it. If you want solve 
   it directly in your copy of the plugin, please, follow the steps below:
 * 1. Open the “/wp-content/plugins/calculated-fields-form/addons/woocommerce.addon.
   php” file with the text editor of your choice.
 * 2. Go to the piece of code:
 * `CPCFF_ADDONS::populate`
 * and edit it as follows:
 * `CPCFF_SUBMISSIONS::populate`
 * and that’s all.
    Best regards.
 *  Thread Starter [davidslager](https://wordpress.org/support/users/davidslager/)
 * (@davidslager)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-with-cff/#post-9761786)
 * That fixed it – thank you!

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

The topic ‘Fatal Error with CFF’ is closed to new replies.

 * ![](https://ps.w.org/calculated-fields-form/assets/icon-256x256.jpg?rev=1734377)
 * [Calculated Fields Form](https://wordpress.org/plugins/calculated-fields-form/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/calculated-fields-form/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/calculated-fields-form/)
 * [Active Topics](https://wordpress.org/support/plugin/calculated-fields-form/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/calculated-fields-form/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/calculated-fields-form/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [davidslager](https://wordpress.org/support/users/davidslager/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-with-cff/#post-9761786)
 * Status: resolved