Problem with gravity & woocommerce & affiliates

Hello
I have a web with “woocommerce 3.x” and “gravity forms”
I have made a form “creating a wordpress account” with “gravity forms” with the option enabled: “enable the affiliates integration for this form”, but when I register a user, I get the following error:

Fatal error: Uncaught Exception: Pedido no válido. in /home/ieimd/public_html/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php:89 Stack trace: #0 /home/ieimd/public_html/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(147): Abstract_WC_Order_Data_Store_CPT->read(Object(WC_Order)) #1 /home/ieimd/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(109): WC_Data_Store->read(Object(WC_Order)) #2 /home/ieimd/public_html/wp-content/plugins/affiliates-extra-tokens-master/affiliates-extra-tokens.php(91): WC_Abstract_Order->__construct(‘17869’) #3 /home/ieimd/public_html/wp-includes/class-wp-hook.php(298): Affiliates_Extra_Tokens_Plugin::affiliates_notifications_tokens(Array) #4 /home/ieimd/public_html/wp-includes/plugin.php(203): WP_Hook->apply_filters(Array, Array) #5 /home/ieimd/public_html/wp-content/plugins/affiliates-enterprise/lib/ext/includes/class-affiliates-notifications-extended.php(408): apply_filters(‘affiliates_noti…’, Array) # in /home/ieimd/public_html/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php on line 89

How could you solve it?
Thank you very much
Ricardo Suarez


Comments

One response to “Problem with gravity & woocommerce & affiliates”

  1. Hi Ricardo,

    Thanks for adding your debug.log.

    There is a line near the end mentioning Affiliates_Extra_Tokens_Plugin….
    Please have a look at your plugins list in case you are using a custom-built addon, disable it and then make another test. Post the plugin name here in case it is a custom solution implemented for you by a member of our team and needs an update.

    Kind regards,
    George

Share