Recent Posts

Caution: Greetings to all visitors. The site is working in short. Links Please skip the link to view any topic and thank you for visiting
header ads

Warning: PDOStatement::execute(): MySQL server has gone away in

I am trying to convert my site to PDO and keep getting this error:

Warning: PDOStatement::execute(): MySQL server has gone away in
Code (markup):
and

Warning: PDO::query(): Error reading result set's header in 
Code (markup):
and

Fatal error: Call to a member function fetchAll() on a non-object in 
Code (markup):
Any ideas?

I've tried increasing max_allowed_packet. Strange thing is it doesn't give the errors every time. Only occasionally. Not sure what the deal is.

from Programming https://ift.tt/2ppuB0F
via IFTTT

Post a Comment

0 Comments