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

jweirather created an issue. See original summary.

Perignon’s picture

The 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?

Perignon’s picture

Status: Active » Closed (cannot reproduce)