Support

Home Forums Event Espresso Premium A critical error message settings

A critical error message settings

Posted: May 28, 2024 at 6:07 am


combiwel

May 28, 2024 at 6:07 am

Hi,

We’re experiencing issues with emails not being sent. When I check the message settings, I see the following message.

This messenger delivers messages via email using the built-in wp_mail function included in WordPress. A critical error has occurred on this site

Could you help us understand what’s going on and how we can resolve this?

Thank you.


Tony

  • Support Staff

May 28, 2024 at 10:02 am

Hi there,

If there’s a critical error being thrown that will generally be logged within the sites error_log.

So, if you take a looking the PHP error logs can you see any errors from wp_mail or Event Espresso? Your host will usually have a section within your control panel to view PHP errors.


combiwel

May 29, 2024 at 1:19 am

This reply has been marked as private.


combiwel

May 29, 2024 at 1:21 am

This reply has been marked as private.


Rio

  • Support Staff

May 29, 2024 at 3:17 am

This reply has been marked as private.


combiwel

May 29, 2024 at 4:24 am

This reply has been marked as private.


Tony

  • Support Staff

May 29, 2024 at 4:46 am

Hi there,

The issue here is within the translation files in use on your site. What has likely happened here is your server has been updated to use PHP8+ and the fatal is now thrown due to an ‘incorrect’ translation.

PHP7 allowed for ‘incorrectly’ formatted translations to work, PHP8 throws a fatal error with them.

Are you using custom translations?

Any files within /wp-content/uploads/espresso/languages/?


combiwel

May 29, 2024 at 5:24 am

This reply has been marked as private.


Tony

  • Support Staff

May 29, 2024 at 5:36 am

Yep, thats them.

Ok so let’s confirmm it’s those.

Rename event-espresso-4-nl_NL.mo to something different.

Anything should work, so event-espresso-4-nl_NL-DISABLED.mo for example.

Then go back to the page above, has the error gone?


combiwel

May 29, 2024 at 5:54 am

This reply has been marked as private.


Tony

  • Support Staff

May 29, 2024 at 6:08 am

It depends if you have custom translations in that PO/MO file combo or not.

If you don’t, just remove those files and EE will use its default translations.

If you do… you need to download the .PO file from above and update the translations, then generate a new MO file and replace one above with that.

First download both your custom MO and PO file and save them somewhere as a backup.

Then download the .po file and open that up in POEdit.

Then download the latest versions of our translation file here:

https://translate.eventespresso.com/projects/event-espresso-4/nl/event-espresso-nl_nl/

(click Export at the bottom, or direct download HERE)

Save that file with -NEW on the end of the filename so you know what it is.

Within POEdit of with your Original PO file, go to Translation, Update from POT.

Select the new file, check your translations, generate a MO file, replace the original MO file on the server, make sure the filename is the same.

I recommend also uploading that latest version of the PO file.

Test again.


combiwel

May 30, 2024 at 6:26 am

This reply has been marked as private.


Tony

  • Support Staff

May 30, 2024 at 6:29 am

Send me the new PO file your using and I’ll test it here.

If I can’t reproduce I’ll have a look on the site.


combiwel

May 30, 2024 at 6:54 am

This reply has been marked as private.


Tony

  • Support Staff

May 30, 2024 at 4:13 pm

For that specific error, the translation you need to fix is:

Hieronder staan berichttypen die momenteel %sactive% met deze messenger. Sleep ze naar het vak 'Inactieve berichttypen' om ze te deactiveren.

Change that to:

Hieronder staan berichttypen die momenteel %sactive%s met deze messenger. Sleep ze naar het vak 'Inactieve berichttypen' om ze te deactiveren.


combiwel

May 31, 2024 at 3:32 am

This reply has been marked as private.

The support post ‘A critical error message settings’ 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.

Event Espresso