Posted: March 3, 2023 at 4:17 pm
Hello, I have attached two images showing some issues with our tickets. They system emails out the tickets for customer to print, however there is some weird URL codes at the bottom of the tickets now showing up so when they try to print it looks like its messed up.
I will post the images privately thanks.
Something on your site is either stripping out the script tags or swapping them for a tags.
When I view tickets on one of my test sites, the assets load using script tags:
On your site, they are loading as links:
Do you have any plugins for changing how scripts load? Speeding up the site etc?
I just uninstalled WP Rocket, didn’;t fix it. Uninstalled SG Optimizer, didn’t fix it. TUrned off Siteground CDN, didn’t fix it. Tried with all 3 turned off, didn’t fix it.
So, please, its your plugin urls. Its your code. Also, I had two issues on that dropbox folder.
1) The urls at bottom of tickets
Do you want access to my website to fix this? Please let me know, thanks
Maybe the Event Espresso – Ticketing (EE 4+) needs an update?
Also I had chosen not to show the “Powered by Event Espresso” in the settings, but its showing up when people print tickets. Its should be removed from everywhere since I chose that setting. If I need to use my support token for this thats fine just let me know thanks.
But it’s not just our URLs, jQuery loading from WordPress core is doing exactly the same. The issue isn’t the URL’s it’s the tags being changed on the output.
We add those assets using wp_enqueue_script() as normal.
If this is ‘just’ our code causing this, we would see this everywhere but I can’t reproduce it on my test sites and we’ve had no other reports of this issue. So this is more likely to be an issue from something specifically on your site than just our code.
I’m aware you’ve highlighted multiple issues, I was prioritizing what I would consider the most critical of that page as its loading assets within links.
If you edit the ticket template used on that event, assuming thats the default template will be in:
Event Espresso -> Messages -> Default Message Templates -> Ticket -> Edit Registrant.
IN the main content, what is set right below
What is set within the DATETIME_LIST section?
You are using the latest version of the ticketing add-on already. Without knowing what is causing the above I can’t push an update for the add-on to fix it.
The setting mentioned removes it from everywhere that is dynamically injected, the message templates are saved to your database are do not have the above text dynamically injected into them.
You can manually remove that text from the template in the above location and save the template, it wont be readded.
I’ve been digging into this and so far I still can’t reproduce it.
If you redeem your support token and provide all of the requested details (I will need FTP access to troubleshoot this) I’ll take a look. If this turns out to be an issue specifically with our code I will leave the support token on your account for future use.
You must be logged in to reply to this support post. Sign In or Register for an Account