Posted: March 1, 2023 at 10:05 am
I’m testing the WP6 update in staging. The formatting on the monthly view of my calendar is not working for some multiday events. It’s showing as a really long sliver on some. I can’t see a difference between ones working and ones not. I just updated to new verson of EE4 after WP6 to see if it would fix itself but it didn’t. |
|
This is an issue from later versions of jQuery when using the calendar with events that small across multiple weeks on the calendar. It doesn’t need to be week long events but if they cross over from 1 row into another you see the issue you’ve mentioned. We don’t currently have a solution for the calendar itself as the issue is part of the library we use for the calendar. However, you can use a plugin like this: https://github.com/Pebblo/ee-calendar-migrate To switch our the version of jQuery on the calendar page which should fix it. |
|
That seems like a pretty big problem considering many people have weekend events and weekends split the week when you look at a standard Sun – Sat calendar. So you’re not planning a fix? Is there a reason I need to upgrade EE4? With the fix above, do I just upload that php file? Thanks! |
|
I didn’t say that 🙂 We are, but the calendar will need a significant rewrite to do so, the library we use or the calendar will need to be updated etc. It’s on our roadmap but we’ve been heavily focused on getting the next version of Event Espresso ready, including a new event editor and recurring events support, so it all just takes time.
I would use EE4 over EE3 as all development time now goes into EE4+. EE3 is now our legacy product and can be considered deprecated, it is likely that within the next 12 months EE3 will be officially unsupported.
Click the code button, then download zip. Install that as a plugin and activate. |
|
Sorry, I already have EE4 just not the most updated version. 4.10.6.p. Also with the new one, I got an error that says a ticket must be selected so it wouldn’t move forward in the RSVP process. But a ticket was selected. It didn’t have anything to do with required tickets, etc. Events worked and then didn’t just from the update and no other changes. |
|
That can happen if you are loading a custom template for the ticket selector which needs to be updated to match the latest output. In your Themes root directory do you have any ticket_selector template files? They could also be within a plugin if your hooking in to change the path using one. |
|
Under Events –> Default Tickets, I have created a default ticket here. Is that what you mean? I have deleted the default ticket that I created but it’s still on existing events. What does updated to to match latest output mean? Creating a ticket is a function of Events Espresso, I didn’t add anything custom to that. |
|
I have these ticket-selector files. Do I need to do anything with them? |
|
No, thats within the dashboard and as you mentioned, is part of Event Espresso, thats not causing this.
You can leave those as they are for editing events, it’s a different feature/section.
If you are using a custom template its will output the ticket selector using that template with a specific markup. IF EE expects a different markup (values used in different locations) it can break the submissions as yours is using an ‘old’ format.
Your issue isn’t caused b something you have done within Event Espresso itself, it looks like you have a custom template for the ticket selector which is causing this. —
No. Those looks like they are from Go to Do you see any files related to the ticket selector there? |
|
Okay, I found customization files but none look like they reference the tickets. I can give you access if that’s helpful or I downloaded the theme folder. EE-people.php – the hides the People Add-on information when the user is not logged in and shows it when the user is logged in.
|
|
By the way, the github to format calendar on PHP 8 worked. Thanks! |
|
It could be happening within a plugin (lots of customizations options within EE) Can you send me WP-Admin and FTP credentials so I can take a look? If so, use this form: |
|
While you’re in there, the notifications on the Bayou City Outdoors subsite are working. 😀 I can create a separate ticket to track. When a user signs up, the admin usually gets an email. It recently stopped working. The attendee emails have never gone on the BCO site but they are going on the HTXoutdoors subsite. |
|
Also, custom code usually has initials pnp in a comment at beginning and end of customization. Not always but usually. |
|
Sorry, I didn’t realize WP Engine restored to an old version of website so WP 6 wasn’t installed this morning. Everything is installed and updated now. i’m on PHP 7.4 bc I have a critical error to update to 8. I’m working on that now too. |
|
FTP works but the WP-Admin credentials are unrecognised, can you recheck those. I found a ticket selector template file within /wp-content/uploads/espresso/ but can’t see any code to include that so I need to check an event with and without that template. |
|
Sorry, I forgot that would have been deleted when I restored the old site. Try it now. |
|
I deleted the file and the quantity, cost and remaining amount disappeared. Added it back and still get errors. |
|
The username now exists but looks like the password is different. If you can set the email address to support@eventespresso.com I’ll request a reset and login.
Ok, so that means somewhere on your site is setting the location of that custom ticket selector file… however I can’t see anywhere obvious for that code to be, its not in the theme, or in and obvious plugin for custom functions. The template file needs to be updated to match changes in our current ticket selector output (you can still have a custom output but need to bring over some of the changs in your template), that will fix the qty issue but it’s a good idea to find where is setting that template to load or you’re stuck in this current situation moving forward. |
|
Note the hook most likely being used to set that template file is Something like this: https://gist.github.com/Pebblo/da3d16507e1baaf53a40 |
|
I had added custom code that you (or EE) gave me awhile ago to filter the MY Events Table. See attached. I just added your cancel registration button to the file too. Is this the file causing the issue? Or are you telling me to add the code you just referenced to a custom file? |
|
I updated the email address. |
|
In addition to the file I referenced above, we have defined which tickets can be seen by users logged in or not. Could it be this setting? |
|
No, that’s not causing this.
No, I think that code is already in use on the site somewhere to tell EE to load the custom template…. I just can’t find where.
No, thats part of the WP Users add-on Nice try tho 🙂 I’ll do some more digging shortly. |
|
This reply has been marked as private. | |
Yeah thats the one, nice find. If you comment out this line (add
Then test the ticket selector, it works then right? |
|
You’ve edited core plugin files? |
|
It didn’t work to put the // in front of that line. Are there other lines? Also, not sure if that core file was changed…probably not but it had FHEE language in it. There are no initial from my developer (pnp) |
|
Lol, really not having any luck with this account! So the email is set and I can request a password reset, but they all show as invalid when clicked. Can you set the password to something and send it over to that same email address?
I’ll test this once the account works.
Oh, FHEE – Filter Hook Event Espresso AHEE – Action Hook Event Espresso There are thousands of those through the codebase 🙂 |
|
It works now! I needed to clear the cache. Yay! (and sorry, didn’t realize that last code file was so long!) |
|
Great! So the question now is, do you want to update your custom ticket selector template or stick with the default one from Event Espresso (which is why its now working)? |
|
oh, yeah I’d like to update the template so we don’t have to create it on every event. |
|
Create the ticket selector template on every event? |
|
Oh, I was thinking of the default ticket. sure, what are the steps to update ticket selector? I think i have some customization still working on it but it needs to be updated too. |
|
For a default ticket within the editor? When you create a ticket in the editor if you click the cog icon you’ll find a checkbox that shows: ‘use this new ticket as a default ticket for any new events’ Click that and save the event, you’ll now have a default ticket from the one you just created.
Will need to compare the current template with the custom one. |
|
The support post ‘Event Calendar not formatting properly after WP 6 update’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.