New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3x BUG... #5370
Comments
Issue-Label Bot is automatically applying the label Links: app homepage, dashboard and code for this bot. |
Where did you put this script? |
@JoryHogeveen its really really weird, sometimes it duplicating 3 times sometimes 5 times. |
If you simply pasted this code in your functions.php it's run every time on every page call (even AJAX calls). Code such as this should be inside a function/method and triggered only when needed with the correct data. |
@JoryHogeveen I tried adding echo "12345"; below this code. And the echo code only show one time. So the probability of a bug inside save_pod_item is quite high. (that save_pod_item function is really really long) |
It could also be triggered because of an AJAX request (WP heartbeat for example) if the code is not within an a function (action). |
I'm using table storage and run this script (100% copy paste from the pods site)
It create the item row succesfully, not 1! but always 3 times. Why?
All my table have 3 duplicate row everytime I add an item.
The text was updated successfully, but these errors were encountered: