Cannot Edit Limit coupons to products

Good day,

On the admin of affiliate coupons – we cannot edit the “Coupons issued are currently limited to these products:” as the input field causes an error to be sent:

Error Details
An error of type E_ERROR was caused in line 392 of the file /nas/content/live/shadesofyoga/wp-content/plugins/affiliates-coupons/lib/comp/class-affiliates-coupons-woocommerce.php. Error message: Uncaught Error: Call to a member function get_formatted_name() on bool in /nas/content/live/shadesofyoga/wp-content/plugins/affiliates-coupons/lib/comp/class-affiliates-coupons-woocommerce.php:392
Stack trace:
#0 [internal function]: Affiliates_Coupons_WooCommerce::admin(”)
#1 /nas/content/live/shadesofyoga/wp-includes/class-wp-hook.php(286): call_user_func_array(Array, Array)
#2 /nas/content/live/shadesofyoga/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array)
#3 /nas/content/live/shadesofyoga/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#4 /nas/content/live/shadesofyoga/wp-admin/admin.php(253): do_action(‘affiliates-coup…’)
#5 {main}

We cannot add or remove products on the list – please advise how this can be resolved. I have already sent the debug.log to george at itthinx dot com.

We are desperately trying to get a solution as it is causing havoc with our new affiliates coupons as we cannot add new products to be limited.


3 Responses to Cannot Edit Limit coupons to products

  1. George November 14, 2019 at 2:09 pm #

    Hey Will,

    Thanks for your additional info.
    FYI, we have deployed an update, you should be able to see the prompt on your Dashboard shortly and update to the latest version which addresses that issue.

    Kind regards,

  2. nichespeak November 13, 2019 at 3:24 pm #

    Hi George,

    Thanks for your response.

    Affiliates Pro – Version 4.4.0
    Affiliates Coupons – Version 2.0.0
    Woocommerce – Version 3.7.1

    The products that are currently set – some are deleted – they automatically delete when expiring a certain time frame.

    Please let me know if this helps.


  3. George November 13, 2019 at 2:45 pm #

    Hi Will,

    Thanks for providing the detailed feedback and your debug.log on this issue.

    Could you also please list the versions of the following plugins in order for me to replicate the issue locally?

    Affiliates Pro

    Affiliates Coupons


    Furthermore and regarding the products set at the moment what is their post status, published-pending-existing-trashed-deleted?

    Kind regards,

We use cookies to optimize your experience on our site and assume you're OK with that if you stay.
OK, hide this message.

Affiliates · Contact · Jobs · Terms & Conditions · Privacy Policy · Documentation · Downloads · Useful Plugins · My Account