views:

31

answers:

1

I get following type of warnings on my Drupal Site which usually disappear when I flush the cache

"Warning: MySQL server has gone away query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (1, 'php', '%message in %file on line %line.', 

Any idea why it happens and how flushing the cache clears it all?

Thanks in advance!

+2  A: 

This issue has been posted multiple times to drupal.org. Best of luck fixing the issue.

mingos
@mingos, I agree that its a MYSQL problem but how does flushing the cache helps?
Loveleen Kaur
Maybe it somehow speeds the script execution up, allowing everything to properly finish?
mingos