Support

Home Forums Event Espresso Premium Message Templates after update

Message Templates after update

Posted: February 23, 2021 at 8:07 am


ATWEVENTS

February 23, 2021 at 8:07 am

Hi. We reacently updated our website activetrainingworld.co.uk. Before migrating the updated staging site back to the live site, we noticed that the message templates had a number of errors on them. For example, the Registration Approved template has the whole of the main content section missing and there are numerous errors at the top of the page.

We hoped that these errors might resolve after migration but they didn’t and we are now unable to send confirmation messages as we can’t insert the List shortcodes for Event and Attendees.

An example of the errors is below. There are many more of them. I am not a developer so wouldn’t have access to any of the function files etc but if you can help at all I will ask our developer to contact you to take this up.

Warning: array_keys() expects parameter 1 to be array, null given in /home/customer/www/activetrainingworld.co.uk/public_html/wp-content/plugins/event-espresso-core-reg/core/libraries/messages/validators/EE_Messages_Validator.core.php on line 259

Warning: array_intersect(): Expected parameter 2 to be an array, null given in /home/customer/www/activetrainingworld.co.uk/public_html/wp-content/plugins/event-espresso-core-reg/core/libraries/messages/validators/EE_Messages_Validator.core.php on line 259

Warning: array_keys() expects parameter 1 to be array, null given in /home/customer/www/activetrainingworld.co.uk/public_html/wp-content/plugins/event-espresso-core-reg/core/libraries/messages/validators/EE_Messages_Validator.core.php on line 259

Warning: array_intersect(): Expected parameter 2 to be an array, null given in /home/customer/www/activetrainingworld.co.uk/public_html/wp-content/plugins/event-espresso-core-reg/core/libraries/messages/validators/EE_Messages_Validator.core.php on line 259

Warning: array_keys() expects parameter 1 to be array, null given in /home/customer/www/activetrainingworld.co.uk/public_html/wp-content/plugins/event-espresso-core-reg/core/libraries/messages/validators/EE_Messages_Validator.core.php on line 259

Warning: array_intersect(): Expected parameter 2 to be an array, null given in /home/customer/www/activetrainingworld.co.uk/public_html/wp-content/plugins/event-espresso-core-reg/core/libraries/messages/validators/EE_Messages_Validator.core.php on line 259

Warning: array_keys() expects parameter 1 to be array, null given in /home/customer/www/activetrainingworld.co.uk/public_html/wp-content/plugins/event-espresso-core-reg/core/libraries/messages/validators/EE_Messages_Validator.core.php on line 259

Warning: array_intersect(): Expected parameter 2 to be an array, null given in /home/customer/www/activetrainingworld.co.uk/public_html/wp-content/plugins/event-espresso-core-reg/core/libraries/messages/validators/EE_Messages_Validator.core.php on line 259

Warning: array_merge(): Expected parameter 2 to be an array, null given in /home/customer/www/activetrainingworld.co.uk/public_html/wp-content/plugins/event-espresso-core-reg/core/libraries/messages/validators/EE_Messages_Validator.core.php on line 248


Tony

  • Support Staff

February 23, 2021 at 8:30 am

Hi there,

Have you had any custom development work to add additional message shortcodes into the EE message system? The above error means the message system is not being passed any ‘default’ shortcodes when setting up the message, which could mean something is hooking in and returning null by mistake.

How did you run the updates? You mentioned using a staging site, so did you run the updates through the WP Dashboard and then push them live?

Or did your development manually update the site using FTP or similar?


ATWEVENTS

February 27, 2021 at 8:20 am

Hi Tony. Apologies for the delay in getting back to you. As far as we know, there were no custom shortcodes created but the developer who set up EE for us has “moved on”. We haven’t updated EE either on live or staging. The transfer of all files and databases was done via FTP.


Tony

  • Support Staff

March 1, 2021 at 5:40 am

Ok, so you’re comfortable with FTP then, correct?

May I ask why you didn’t update EE? Your site is running 4.10.6.p released March 30 2020 so I do recommend updating.

Did your developer alter any of EE’s code on the site? We have a bunch of hooks throughout Event Espresso so it’s generally unneeded and not recommended, but does still happen from to time.

What I would do here is first make a site backup, just to be safe.

Then update EE on staging to the latest version (currently 4.10.10.p) and confirm that first the current issues is resolved, then confirm that registrations work as expected incase your developer did change any of the code.

I don’t recommend using FTP to transfer the files as a missing/skipped file can cause all kinds of issues. You can update the current version of Event Espresso by downloading the .zip from your account page and then going to Dashboard -> Plugins -> Add new -> upload plugin.

Newer versions of WP will show you something like this:

https://monosnap.com/file/RqGChRN7WIf9gXmvPuVpAnO089RFCA

Which allows you to overwrite the current version without the version you just uploaded (older versions just told you it already existed).

You must be logged in to reply to this support post. Sign In or Register for an Account

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3 Documentation for Event Espresso 4

Status: publish

Updated by  Tony 2 days, 18 hours ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!