Your cart is currently empty!
Cannot Edit Limit coupons to products
—
by
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}
thrown
//////
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.
Thanks,
Will
Comments
3 responses to “Cannot Edit Limit coupons to products”
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,
George
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.
Thanks,
Will
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
WooCommerce
Furthermore and regarding the products set at the moment what is their post status, published-pending-existing-trashed-deleted?
Kind regards,
George