Issue:

Got a packet bigger than 'max_allowed_packet' bytes


MySQL default limit for the allowed packet is set to 16M. if you need to insert the record which is larger than 16MB in size you have to modify the mysql global variable accordingly.

Fix will be

Edit file in /etc/my.cnf and added the following lines,
[mysqld]
max_allowed_packet = 30M