Open DemoMann opened 5 years ago
Did you figure anything out?? I get the same thing:
The favorite was successfully saved. favorites.js?ver=2.3.1:570 {status: "error", message: "Invalid post."} message: "Invalid post." status: "error" proto: Object
When trying to use Favorites on images via a custom function, it works for 1-3 images in a gallery but the rest just have a nonfunctional button and the error above is what I get when I click one of the nonfunctional buttons. I am considering that perhaps I am passing the wrong variable to the plugin but having a hard time figuring out whether that is the case. I've emailed the developer a number of times and no responses yet.
I have wasted weeks on this and it's holding up a development that I need to finish, considering going back try and find a different plugin that can do this but I've already combed through them a couple times before I decided on Favorites and I'm not too hopeful of finding an alternative. If you have found a solution I would appreciate hearing of it....thanks and good luck~
Hi, what plugin alternative are you using?
Hey, for the Favorites? None at the moment (aside from this Favorites plugin), I dug into my theme and made a custom function to display the buttons on images in a gallery, but they aren't functioning and I've been trying to get them working. Previously I looked at a couple of alternatives but they seemed bloated and unsupported for the most part. Here are a few that I can dig up from my bookmarks folder (no pun intended) for this issue:
https://likebtn.com/en/wordpress-like-button-plugin
http://preview.alimir.ir/wp-ulike-plugin/
https://pippinsplugins.com/products/love-it-pro-for-wordpress/ . [Pay??]
My button is constantly loading as well. Plugin is up to date. WP is up to date. PHP is 7.2 Used to work fine, not sure when it broke. Here is the error:
Uncaught TypeError: $.ajax is not a function
at Favorites.Button.plugin.submitFavorite (favorites.js?ver=2.3.1:562)
at HTMLButtonElement.
Maybe an Ajax issue. Any ideas?
Hello, When I click on the button, the button is always loading. This is what the console of Chrome tells me.
The current user favorites were successfully loaded.
{status: “success”, favorites: Array(1)}
Unchecked runtime.lastError: The message port closed before a response was received.
The favorite was successfully saved.
{status: “error”, message: “Invalid post.”}
Somebody help me, please? Thanks!!!