• Resolved davidslager

    (@davidslager)


    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 to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @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

    (@davidslager)

    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.