-
-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Formie does not send notification emails #1892
Comments
Was the PHP bug that meant you needed to reinstall Formie related to Formie? Let me know! If the email is sending when using the "resend" function, but not through normal front-end processes, then that tells me there's something wrong with sending out the email via the queue. Can you send through the full stack trace of the error? Just trying to figure out where in the process of using a variable like the |
Does that help? |
Ah gotcha. Are you able to send through your logs to |
This might help more...
|
Looking up AssetManager.php:238 makes me think that something is wrong with file permissions somewhere down the line. Is this something you can check on your install and environment? |
This happens with or without any email template – so what kind of permission issue could it be? any hints? |
It seems that Formie does not extract the data from the submission into the notification. In Job Data as well as when looking into the send notification, almost everything is empty, especially the email address. So it seems to me that the notification sending tries to start before the submission is saved properly... Does that make sense? |
When I look at the Sent Notifications, the unsuccessful ones are empty (no preview of the email), the ones that were sent are complete with email preview. |
By permissions, I meant file permissions. Something is trying to write something to the file system but cannot. The job data being empty is pretty normal. It's supposed to get updated after an error happens, but it doesn't always. This is because the data for the submission can be dynamic, and isn't set at the time of submission. It's purely a visual/debug thing though, everything in the queue job deals with a proper populated submission, this is just visual feedback. The difference between a normal submission is that emails are sent via the queue. When you hit "resend" they aren't using the queue, so it seems related to the queue. How does your queue processing run? Do you leave it as the default (only run when someone visits the control panel), a corn job, or a daemon? |
Also, I doubt that there is a file permission issue, since exactly the same error appears on my local dev and our hosted stage environment. Since we are hosted through servd and everything used to work fine prior to upgrading to Craft 5 (and Formie 3) and everything else is running smoothly, this really looks strange to me. Complete re-install, other template directory, disabling AsyncQueue - did not work. |
I have seen issues with the AsyncQueue plugin in the past, so it may be related to that - but as your last update mentioned you've tested that. It might also be related to Servd. I'll get a test site spun up just in case. It does seem odd that you're experiencing it locally though, and I certainly can't replicate it. Wondering if you might be up for sending your |
I have a different error log now...:
The asset mngr seems to be looking for a directory path that simply isn't there...? Note the space after the colon:
|
I can send the composer files, I can't send the DB – or maybe tell me which DB table you want to look at (hundreds of GB). |
So that seems to be coming from this plugin?
|
OMG. Yes, disabling the animate plugin totally solved this issue. |
Describe the bug
Updated my system to Craft 5. Had to re-install Formie (PHP bug), now I won't be able to send notification emails:
Failed to send notification email: {"error":"Fehler beim Parsen der E-Mail-Benachrichtigung für “An: {field:ihreEmailAdresse}”. Vorlagenfehler: “The directory does not exist: ” \/var\/www\/html\/vendor\/yiisoft\/yii2\/web\/AssetManager.php:238"}.
I tried without and with email templates, no changes. I created a form from scratch, no changes.
Formie will send emails from the backend using the "resend" function, but not when triggered through a form from the frontend.
Using SendGrid to send emails.
Steps to reproduce
Form settings
Craft CMS version
5.1.3
Plugin version
3.0.0-beta.10
Multi-site?
No
Additional context
No response
The text was updated successfully, but these errors were encountered: