Support

Home Forums Event Espresso Premium EE not sending messages

EE not sending messages

Posted: July 30, 2021 at 11:36 am


tepitadmin

July 30, 2021 at 11:36 am

Upon a new registration, messages are stuck in “messenger is executing”. I’ve confirmed Mailgun API and WP email functionality. I’ve also changed to “send on same request”. When I attempt to re-gen or send again I receive this message:
“An error has occurred:
The messages were not generated. This could mean there is already a batch being generated on a separate request, or because the selected messages are not ready for generation. Please wait a minute or two and try again.”

I’ve also starting deactivation plugins that may conflict but nothing seems to matter. I recently received a “technical issue” email from the updated wordpress. The error details state:
An error of type E_COMPILE_ERROR was caused in line 613 of the file /code/wp-content/plugins/event-espresso-core-reg/core/libraries/messages/messenger/EE_Email_messenger.class.php. Error message: require_once(): Failed opening required ‘/code/wp-content/plugins/event-espresso-core-reg/core/third_party_libs/cssinliner/vendor/autoload.php’ (include_path=’.:/usr/share/pear:/usr/share/php’)


Tony

  • Support Staff

August 2, 2021 at 3:55 am

Hi there,

The error you’ve posted usually means there is a file missing from your EE install, are you using git to manage your site updates at all? I ask because it’s common to exclude/ignore the vendor directory when doing so which would tie in with the error posted.

If not then the first thing I would do is reinstall Event Espresso.

Download the latest version from your account page, save the .zip somewhere easy to access.

Then on your site go to Dashboard -> Plugins -> Add new -> Upload plugin, select the zip you just downloaded. It should show a message stating the directory already exists and ask if you want to replace it with the version you just uploaded, do so.

Now retest an email, same error?


tepitadmin

August 4, 2021 at 8:44 am

I am in SFTP. Before I reinstall EE, are you advising to use SFTP or Git?


Tony

  • Support Staff

August 4, 2021 at 9:14 am

If your not already using a set using Git I don’t advise switching to it, I only mentioned git because its common to exclude the vendor directory which would then tie into your error. If your not using git already that’s not the problem.

In terms of git vs sftp I’d advise you use neither currently and use the plugin uploader through the site itself as above. The reason being that if sftp skips a file during transfer you’ll be in the same situation.

So you need to reinstall Event Espresso on the site, how you do it I’ll leave up to you, however, using the plugin uploader is the method I recommend to avoid issues.


tepitadmin

August 4, 2021 at 11:58 am

Reinstalled but receive the same error and stuck in “messenger is executing”.


Tony

  • Support Staff

August 4, 2021 at 2:41 pm

Do you get exactly the same error stating the same file was unavailable?

Which method did you use to reinstall?

Have you confirmed the /code/wp-content/plugins/event-espresso-core-reg/core/third_party_libs/cssinliner/vendor/autoload.php file is indeed on the server?

Do you have any other plugins that alter email templates on the site? For example WP HTML Mail?

We have a filter available to stop EE loading the CSSInliner tool, its not really a solution to the problem but a workaround as it stops trying to load the file above, you can add:


add_filter(
    'FHEE__EE_Email_messenger__apply_CSSInliner ',
    '__return_false'
);

To the site to see if that works.

You can add that to a custom functions plugin on your site, we have some documentation on creating one here:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/


tepitadmin

August 4, 2021 at 6:20 pm

Nothing worked until I activated the custom plugin. I was able to proceed and received the Thank You confirmation page and emails to both the registrant and admin. Could you please try to register for the free event created for the “Registration does not proceed” thread?


Tony

  • Support Staff

August 5, 2021 at 12:41 pm

Registering onto the text event worked and received the emails.

As mentioned I considered the above more of a workaround rather than a full solution the above basically disabled the CSSInliner within EE4 rather than finding out why it can’t load.

The support post ‘EE not sending messages’ 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