Make sure the /etc/my.cnf gets the desired max_allowed_packet=64M and that it's restarted with the new settings.
/etc/my.cnf
max_allowed_packet=64M