Posted: 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. |
|
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. |
|
This reply has been marked as private. | |
This reply has been marked as private. | |
This reply has been marked as private. | |
This reply has been marked as private. | |
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 |
|
This reply has been marked as private. | |
Yep, thats them. Ok so let’s confirmm it’s those. Rename Anything should work, so Then go back to the page above, has the error gone? |
|
This reply has been marked as private. | |
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. |
|
This reply has been marked as private. | |
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. |
|
This reply has been marked as private. | |
For that specific error, the translation you need to fix is:
Change that to:
|
|
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.