We are currently having issues on our site, https://capitalwineschool.com/
First issue is with extension, Event Espresso – Events Table View Template (EE 4.4.9+) – Version 1.3.9.p
When active, we see a broken version of the page,
sample url: https://capitalwineschool.com/wset-classes/#_level1
There, we’re supposed to have multiple tables by category (level 1, level 2…)
Second issue is our emails are not sending since the 17th of March.
Our currently smtp is with Brevo and everything was working fine and we can’t see any issues on Brevo’s dashboard.
I tried re-installing the core plugin and now, we get the ‘There has been a critical error on this website.’ error once activated.
Sample settings that were messed up were ‘View Registration details’ and ‘View transaction receipt’ on click they would redirect to the homepage. I had to go through EE Dash > Messages > Settings > HTML to check if both invoice and receipt were not under Inactive Message Types, which they weren’t but still redirected to the homepage. By transferring both to inactive and back to the active section, they were then back in play.
Let me set up staging for you
Did you move hosts or make any database changes around the 17th of March?
The issue with messages is that the message ‘contexts’ are missing. I’ve fixed those in the default message templates but the custom templates are also the same so I’m trying to figure out how this could happen.
Hi Tony,
No DB changes were done over the weekend. I believe the only thing done to the site was ‘Smart Plugin Manager’ from WPengine did its thing and spotted the issue EE core and stopped the auto update for ‘Significant visual changes detected’.
Please let me know how we can replicate the changes you made.
Fixing the default message templates can be done by following the same steps you did above for the Invoice and Receipt message template.
Deactivate and then reactivate each message type, but that wont fix the custom Registration Approved message template you have assigned on all/most of your events, the contexts will remain missing on those (they’ll need to be fixed directly within the DB).
However, the updates don’t change anything within messages like this, if it did then everyone’s messages would be broken now, so something weird is going on here. The really strange part is to break the contexts in the same you site is currently I have to wipe out the context names within the DB but then I get this error on the Custom Message Templates list table:
Fatal error: Uncaught Exception: An invalid string identifying a context was provided. "" was received, and one of "admin,primary_attendee,attendee" was expected.
Interesting… I’ve asked my colleague to give you access to the DB. But for now, to do thing its okay to update the plugin? Last time I updated it, it messed up our event tables
please let me know how we can proceed, because aside from that, when we try to move an attendee using the attendee mover extension like usual, we also get a critical error
Any updates on here?
We are still having issues with emails.
Is there a way to address the ‘No recipient’ entries?
Like can we rebuild the email with all the missing fields filled?
Apologies for the delay, there’s a lot of data to through and I requested some feedback on this to confirm what I was looking at, which took a little longer than usual due to the holidays.
I’ve been reviewing the database and in short, there has to be something more going on here as there is a bunch of data just missing from the database (there are large ‘groups’ of data just missing). So the reason your custom message template isn’t working is that the rows for that template are missing from the database table, that was likely the same issue with the default message templates and disabling/re-enabling them recreated those rows (that’s not something you can do with the custom templates).
The custom message template can’t currently work because there is no data to generate it with, this is the table used to hold template data organised by message GRP ID:
Hi Tony,
Happy to hear back from you again.
That’s what I’ve been trying to figure out as well.
The only thing I could find, which is so far off is that we had a ninja form entry that came in from our ‘Delete Data Request Form’ which felt like was the trigger.
Form was visible at, ../privacy-policy/
which I’ve disabled on the live site.
I couldn’t connect the form to EE myself with how it was able to affect the message templates.
Do you think this is it?
I’d like to say no, but as much as I’d like to, I can’t give you a definitive answer.
‘Something’ has gone through and deleted stuff from the database, be that as a ‘cleanup’, Delete Data Request, a random “what is this, don’t know, just get rid” job…. I can’t say what but something has removed a bunch of data here. I wont even rule our Event Espresso doing it itself (although I do highly doubt it), however, I can say that before EE deletes anything it checks for a bunch of relationships and drops out if it finds any it can’t remove. So generally it won’t allow you to just delete ‘parts’ of data leaving other data orphaned.
Deleting the data I referenced above would only be done within EE itself if the custom template was removed as part of a whole routine, yet the custom template (it’s not the only one affected so this is just a random click of a button that’s gone wrong) remains and all of its related data removed.
—
Do you have a ‘recent’ database backup from before this happened when everything worked but not old enough to have a huge amount of changes to the template?
I’m trying to work out what the best way to move forward from this is going to be, in all likelihood we may not find out what has caused this and we could spend forever trying to figure out what it may or may or not have been.
Thank you so much for all your help.
On the last week of march, I had updated the site owners of the situation and have removed that delete form completely from the production site.
We do have a copy of the DB prior to the issues on the 16th of March, I believe we can pull that from hosting, but so far the site and EE is working fine. We want to keep it that way.
Again, we really appreciate your time and support.
Thank you,
Viewing 19 reply threads
The support post ‘Multiple issues found’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.