It’s hard to tell when it stopped working. It could have been since updating WooCommerce to v. 9.2.3, maybe earlier. There are no errors in my server’s log file nor in the DevTools console. All the settings haven’t changed, the plugin just stopped working on the front-end.
Is there anything I could provide you with, to resolve this issue?
Thanks in advance.
]]>Hello again and thank you for the help.
We just noticed that the Wishlist, while it works great in both Firefox (129.0) and Google Chrome (120.0.6099.130), but does not work in Edge. Tested on a latest Windows 10 OS and Edge (120.0.2210.91).
Here is the console error being logged each time the “Wishlist” button is clicked:
Uncaught TypeError: Cannot set properties of undefined (setting ‘product_ids’)
at Object.addToWishlist (addonify-wishlist-public-guest.min.js?ver=88fdffc45cb4:1:3183)
at L (addonify-wishlist-public-guest.min.js?ver=88fdffc45cb4:1:4144)
at HTMLButtonElement. (addonify-wishlist-public-guest.min.js?ver=88fdffc45cb4:1:6909)
at HTMLBodyElement.dispatch (jquery.min.js?ver=826eb77e86b0:2:40035)
at v.handle (jquery.min.js?ver=826eb77e86b0:2:38006)
addToWishlist @ addonify-wishlist-public-guest.min.js?ver=88fdffc45cb4:1
L @ addonify-wishlist-public-guest.min.js?ver=88fdffc45cb4:1
(anonymous) @ addonify-wishlist-public-guest.min.js?ver=88fdffc45cb4:1
dispatch @ jquery.min.js?ver=826eb77e86b0:2
v.handle @ jquery.min.js?ver=826eb77e86b0:2
Testing things, when we add a break-point to addonify-wishlist-public-guest.min.js
before the addToWishlist: function(t) { }
function, we see that i
is undefined and t
is the correct Product ID for which the Wishlist button was clicked for. Moving the breakpoint after var i = this.getProducts();
and we see that i
is still undefined which throws the error. Trying to narrow down the function getProducts()
and holy cow the amount of minification here is crazy with the function minified as f
which is also done for 12 other functions using the same f
name ?? So I decided to create this support thread since we don’t have the non minified/original JS file.
So for now when using Edge we get the full-page element blocking “Invalid security token” popup which for the time being are surpassing using a custom Javascript DOM event listener and restoring the overflow to <body>, so at least for now visitors using Edge can use our site, just the Wishlist buttons don’t function for them. We’ve provided a catalog link to our site for testing, but it occurs on all catalog and product pages where we have the Wishlist button present. Again works get with Firefox & Chrome, just not with Edge.
Thank you for the help! Appreciate it very much
Huusoku
?? Activated the plugin on my development platform for first time. I received the same error as reported by other user. I deactivated the plugin then reactivated it and the error no longer exist.
?? How can we reproduce this Bug?
Not really sure how. The error should not have occurred since it was already fixed, prior to installing the plugin for the first time on my development site.
Good Day
]]>Good evening, we are having the same issue as the other top post, responded there, but realized that that topic is marked as completed so we are starting a new request here. WP 6.4.3, WC 8.5.2, Addonify – WooCommerce Wishlist 2.0.9, WP Rocket 3.15.9.
Clicking ‘Add to wishlist’ results in “Something went wrong. <br>Title was not added to wishlist. Please refresh page and try again.” (the line break <br> is not being encoded)
We have excluded all seven JS files (verified paths are correct) from WP Rocket cash (minification, defer, and delay execution) as well as added the cookie exclusion “addonify-wishlist”. We’ve logged out and back in, and verified not working on multiple devices including Laptops and iPhones. Moreover, we disabled WP Rocket and have no other cache plugins and still get the same error. Wishlist page exists and loads just fine.
Website is currently being built and under construction. Address is https://www.marlincrawler.com/xn/ and requires log in at the moment so I created a temp Customer user log-in as follows, l/p: addonify/addonify. (I’ll delete this account afterwards)
Any help is appreciated, especially since we’re planning to launch the new site tomorrow night (it’s now tomorrow night) and are hoping to use your Wishlist plugin! ????
Regards,
Huusoku
When i click on the add to wishlist button – it display
Something went wrong. Product [name] was not added to wishlist. Please refresh page and try again.
I tried many times but still cannot.
]]>Hello
today I noticed something and I don’t know if it is normal.
The duplicate queries appears when I first load the shop page.
Do you think this is something we can avoid and does it affect the site performance? I have the latest wordpress version installed 6.3
Regards
Leonidas
]]>Thanks for this great plugin,
How to disable loading CSS files?
]]>I Just need to remove the product if it’s already on wishlist, Once I click again.
Wishlist Button > Remove product from the wishlist on double click
]]>Hello
although the wishlist function is not enabled at cart and chekout I noticed the plugin loads its assets into those two pages. Is it possible to prevent this?
Regards
Leonidas
]]>Hello
is there an option to set the cookie duration time?
Regards
Leonidas
]]>Hello
after the last update I noticed two php warnings https://prnt.sc/iK0L38Mf39bP
Regards
Leonidas
]]>Hello
I want to report that the stock status of every product is not displayed inside the sidebar unless you visit first the wishlist page. Can you fix that?
https://screenpal.com/watch/c0hD2yVArYV
Best regards
]]>Hello
I noticed an error message every time I click the add to cart button
https://prnt.sc/eQfFdyHV8H3e https://prnt.sc/mwSx7zd9Kps8
I have only two plugins activated to verify this issue https://prnt.sc/N8MP-uZxaghW
Regards
Leonidas
]]>Hello
I noticed an error with wordpress version 6.2.0 https://prnt.sc/YuZLyumAZtkT
]]>Hi,
Can you add the option to move template files to theme folder?
]]>