35% OFF ADDONS CODE EVOCYBER2020
Hello, I am getting some strange behavior when trying to use the Eventon Event Tickets add-on. I just purchased the extended support, in hopes that you can help me figure this out.
I am using X Theme, on WordPress 4.6.3, using WooCommerce 2.6.3. I have Eventon 5.6.1 installed, as well as Events Lists 0.8 and Event Tickets 1.4.
Basically, as soon as I enable the ticketing, the Events directory page stops working altogether, as well as the event description pages.
I currently have two demo events created, which you can find on https://integrallife.com/events.
Here are some screenshots of the /events page, with tickets disabled on both events. Everything seems to be displaying fine:
And here is the Events directory page when either one of the events has Tickets enabled. As you can see, the page is completely blank. Note that I am resetting both the CDN cache and the local browser cache after making all changes.
Furthermore, when I look at the actual individual Event Page for an event with Tickets enabled, I only see this:
And I am not sure if this is related, but I notice that every time I update an event with ticketing enabled, Yoast SEO attempts to create a redirect link from the Event description page to the product page. I undo these redirects every time I re-publish the page:
I hope this is enough information, and that you can help me get to the bottom of this. I really love this plugin, and very much want to get everything working correctly on our site!
Thank you for your support,
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!
That stupid redirect is definitely a cause for this. https://integrallife.com/wp-admin/post.php?post=18335&action=edit the permalink doesnt event work and it kept redirecting to product page.
So please disable redirecting because I couldnt find a way. And please also send us FTP access to your site so I can look into PHP debuggin for issues
If reference to Yoast SEO, the only workaround I’m aware of is to disable the automatic redirects by entering all four filters into your functions.php.
This guide explains more: https://kb.yoast.com/kb/how-to-disable-automatic-redirects
Thanks @VPREATR I have the yoast addon but i havent look deep into it, i didnt even know there was a redirect feature in it. But your the above link shows how to disable the redirect. But i would have expected something like this to be in backend settings as an easy to adjust feature than a filter a user would have to add via PHP.
Also, after disabling the Yoast auto-redirects, I am experiencing the same weird glitches. When tickets are off, the event directory and event description pages work fine:
But when I turn tickets back on, both pages get wiped out. Also note that the WordPress Admin pane doesn’t display on these pages, and it even kills the footer.
Sorry, I should have included urls for those screenshots.
I currently have tickets disabled for this event so you can visit the urls, feel free to turn it back on for this event if you need to. It’s just a dummy event for testing. But please keep in mind that the site itself is a prod site, so let’s not do anything that will interfere with our ongoing membership business!
And if you need to make any changes to the code base, can you let me know what you did, so I can keep everything tracked?
Thanks again for your help here guys, it is very much appreciated.
I think I just found something.
I pushed everything over to staging, and activated the default Twenty Sixteen theme. This allowed me to see the error message being generated on the event description page:
Fatal error: Call to a member function get_children() on null in /nas/content/staging/integrallife/wp-content/plugins/woocommerce-chained-products/woocommerce-chained-products.php on line 675
So it appears this is a conflict with the Woocommerce Chained Products plugin. I have temporarily disabled this plugin on the prod site, and both the Events directory and the Event description pages now work when Tickets are enabled for the event.
I would ultimately like to re-enable Chained Products, so maybe there is a bug here that can be squashed by you guys for the next update?
I am glad you were able to find the issue yourself so thank you!
As you have said the error is coming from that plugin and there is nothing we can do to tickets addon to fix that. It HAS to be fixed within that plugin.
Marking this as resolved.