How to fix magento 2 error: Exception #0 (Zend_Db_Statement_Exception): SQLSTATE[08S01]: Communication link failure: 1153 Got a packet bigger than 'max_allowed_packet' bytes, query was: INSERT INTO...?

If you found In magento 2 this error:

Exception #0 (Zend_Db_Statement_Exception): SQLSTATE[08S01]: Communication link failure: 1153 Got a packet bigger than 'max_allowed_packet' bytes, query was: INSERT  INTO...

You can fix it by changing your mysql server settings:

max_allowed_packet = 32M

you can use my.cnf and change default settings

or if you use panels then there usually this parameter looks likу this