Before I can contact Ashan, I need to make sure that the same issue happens either on our test site (unfortunately, it works fine) or on yours with the default theme + no other plugins.
Thank you for fixing the issue! I am going to assign this ticket to Ashan. He’ll reply ASAP.
Hello,
Unfortunately, we unable to help with PHP customizations since it’s against CodeCanyon’s Support Policy.
Please also note that since Event Type is a taxonomy, you need to get it first to use it:
https://docs.myeventon.com/documentations/taxonomies-eventon/
Take a look at “Basic Custom Usage“.
Ashan,
The same on dev2:
https://dev2.myeventon.com/test-1052/
Hello,
Thank you for your messages, I am going to assign this ticket to Ashan and he will be able to take it from here and find you a solution. Please allow some time for him to get back to you, we greatly appreciate your patience and thank you for being a eventon customer! Also please disable any IP blocking on your site if there are any.
The coded has been added. Anything else to do? Or do you want to test now?
Hi, yes the error message is to be expected. I need to add this hack to functions.php of the current theme:
/* Hack to avoid redirect loop according to https://wordpress.stackexchange.com/a/135371 */
remove_filter(‘template_redirect’, ‘redirect_canonical’);
Now the test site works and you can see that the eventON calender is broken.
https://www.solarserver.de:8443/termine-veranstaltungen-zu-erneuerbaren-energien/
Please let me remind you that you already spent quite some effort on this issue but neither you nor me could identify the source of this problem. I therefore think it would helpful, if you could concentrate on my proposed change. I really believe that you are verifying the nonce even in situations where this check is absolutely not necessary: when neither
If you don’t like my proposal, maybe you can add a filter or action or similar to let me switch off the nonce verification in my code. Thus I would not have to patch your plugin everytime you update it.
Ok I think this should make sure 2 people can not buy the same ticket, even if someone buying 4 and later 2 of them become available, this will check with all purchased tickets to make sure there are no seats with same seat_slug in purchased seats.