Skip to content
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

Unable to use queue for notifications #1714

Open
ryssbowh opened this issue Jan 15, 2025 · 3 comments
Open

Unable to use queue for notifications #1714

ryssbowh opened this issue Jan 15, 2025 · 3 comments
Assignees
Labels
issue Something isn't working correctly

Comments

@ryssbowh
Copy link

What happened?

Notifications are failing when using the queue. I'm getting a Freeform error log :

Calling unknown method: craft\console\Request::get() in "__string_template__0e1e2c4887b031019838f04e6a2cb3fc" at line 5 {"template":"default","file":"/var/www/html/vendor/craftcms/cms/src/helpers/Template.php"} [] 

The same notifications are working when not using the queue.

Errors and Stack Trace (if available)

No response

How can we reproduce this?

  1. Setup a database notification for a form
  2. Enable "Use Queue for Email Notifications"
  3. submit the form

Freeform Edition

Pro

Freeform Version

5.8.6

Craft Version

5.5.10

When did this issue start?

After upgrading from older Freeform version

Previous Freeform Version

4.x

@ryssbowh ryssbowh added the issue Something isn't working correctly label Jan 15, 2025
@kjmartens
Copy link
Contributor

Hi @ryssbowh,

Can you share what your notification template looks like? Either a screenshot of it in the CP or if it's a file, you can attach it here. 🙂

@kjmartens kjmartens self-assigned this Jan 15, 2025
@ryssbowh
Copy link
Author

@kjmartens
Copy link
Contributor

Thanks @ryssbowh,

However, I am curious what you might have configured in the Subject, From Email, From Name, etc settings as well. Can you share all of that? 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue Something isn't working correctly
Development

No branches or pull requests

2 participants