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

Fatal Error with sendgrid #11326

Closed
1 task done
azure-architect opened this issue Jul 11, 2022 · 5 comments
Closed
1 task done

Fatal Error with sendgrid #11326

azure-architect opened this issue Jul 11, 2022 · 5 comments
Labels
bug Issues or PR's relating to bugs email Anything related to email stale Issues which have not received an update within 90 days

Comments

@azure-architect
Copy link

Mautic Version

4.3.x series

PHP version

7.4.30

What browsers are you seeing the problem on?

Not relevant

What happened?

A bug happened! I am getting this error in my system log :
Fatal error: Uncaught Error: Interface 'JsonSerializable' not found in /web/vendor/sendgrid/sendgrid/lib/helpers/mail/Mail.php:15
Stack trace:
#0 /web/vendor/composer/autoload_real.php(55): require()
#1 /web/vendor/composer/autoload_real.php(38): composerRequirefcf81358727006a9595bdc8216684a1c('9dda55337a76a24...', '/web/vendor/com...')
#2 /web/vendor/autoload.php(12): ComposerAutoloaderInitfcf81358727006a9595bdc8216684a1c::getLoader()
#3 /web/autoload.php(3): require('/web/vendor/aut...')
#4 /web/bin/console(21): require_once('/web/autoload.p...')
#5 {main}
thrown in /web/vendor/sendgrid/sendgrid/lib/helpers/mail/Mail.php on line 15

How can we reproduce this issue?

Step 1: This is a standard install on a stand alone vps with no other software co existing with it.

Relevant log output

Fatal error: Uncaught Error: Interface 'JsonSerializable' not found in /web/vendor/sendgrid/sendgrid/lib/helpers/mail/Mail.php:15
Stack trace:
#0 /web/vendor/composer/autoload_real.php(55): require()
#1 /web/vendor/composer/autoload_real.php(38): composerRequirefcf81358727006a9595bdc8216684a1c('9dda55337a76a24...', '/web/vendor/com...')
#2 /web/vendor/autoload.php(12): ComposerAutoloaderInitfcf81358727006a9595bdc8216684a1c::getLoader()
#3 /web/autoload.php(3): require('/web/vendor/aut...')
#4 /web/bin/console(21): require_once('/web/autoload.p...')
#5 {main}
  thrown in /web/vendor/sendgrid/sendgrid/lib/helpers/mail/Mail.php on line 15

Code of Conduct

  • I confirm that I have read and agree to follow this project's Code of Conduct
@azure-architect azure-architect added bug Issues or PR's relating to bugs needs-triage For new issues/PRs that need to be triaged labels Jul 11, 2022
@azure-architect
Copy link
Author

Json is enabled in my php.ini

json

json support enabled

@mautibot
Copy link

This issue has been mentioned on Mautic Community Forums. There might be relevant details there:

https://forum.mautic.org/t/fatal-error-uncaught-error-interface-jsonserializable/24731/2

@jos0405 jos0405 added email Anything related to email and removed needs-triage For new issues/PRs that need to be triaged labels Jul 14, 2022
@stale
Copy link

stale bot commented Oct 12, 2022

This issue or PR has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you would like to keep it open please let us know by replying and confirming that this is still relevant to the latest version of Mautic and we will try to get to it as soon as we can. Thank you for your contributions.

@stale stale bot added the stale Issues which have not received an update within 90 days label Oct 12, 2022
@stale
Copy link

stale bot commented Oct 28, 2022

This issue or PR has been automatically closed because it has not had recent activity. In the case of issues, if it persists in the latest version of Mautic, please create a new issue and link back to this one for reference. With PRs if you wish to pick up the PR and update it so that it can be considered for a future release, please comment and we will re-open it. Thank you for your contributions.

@stale stale bot closed this as completed Oct 28, 2022
@github-actions
Copy link
Contributor

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If this issue is continuing with the lastest stable version of Mautic, please open a new issue that references this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues or PR's relating to bugs email Anything related to email stale Issues which have not received an update within 90 days
Projects
None yet
Development

No branches or pull requests

3 participants