The first thing I'd suggest is increasing max_allowed_packet in MySQL. Run:
SHOW GLOBAL VARIABLES LIKE 'max_allowed_packet';
to see what this setting is currently. 16 MB is often recommended when this problem occurs, you can set it with:
SET GLOBAL max_allowed_packet = 16777216;
Change it in the MySQL configuration file (often my.cnf) to make this setting persistent.