Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When I try to open the Sendgrid reports page from the main reports page at admin/reports/sendgrid, I am receiving the following error message:
Exception: Serialization of 'Closure' is not allowed in serialize() (line 155 of /path/to/site/modules/dblog/dblog.module).
The website encountered an unexpected error. Please try again later.
Other reports seem to be working fine. This is a fairly lean Drupal 7.50 installation.
Any guidance is appreciated!
Comments
Comment #2
Perignon CreditAttribution: Perignon as a volunteer commentedThe error is in dblog. Not Sendgrid. It seems that dblog is attempting to direct closure serialization of a function which cannot be done in PHP. This is probably from the try/catches I used in error handling.
I have never run into this error with the module. I use MongoDB for DBlog, which may be the reason I have never seen this problem.
But if dblog is attempting to do something with an exception then there is a problem. Something is not working right. Can you send email ok?
Comment #3
Perignon CreditAttribution: Perignon as a volunteer commented