Script Error

SQLSTATE[HY000] [2006] MySQL server has gone away

Fatal error: Uncaught exception 'Am_Exception_Db' with message 'MySQL server has gone away at /home/kenton11/public_html/amember/library/Am/Db.php line 97(2006) in query: REPLACE INTO am_session SET `id`='217e02cb34a7cd22f0de93b5f37f1507', `modified`='1524497374', `lifetime`='7200', `user_id`=NULL, `data`='__ZF|a:2:{s:12:\"amember_auth\";a:1:{s:3:\"ENT\";i:1524504570;}s:18:\"amember_admin_auth\";a:1:{s:3:\"ENT\";i:1524500970;}}amember_auth|a:1:{s:4:\"user\";N;}amember_admin_auth|a:1:{s:4:\"user\";N;}amember|a:1:{s:14:\"uploadNeedBind\";N;}'' in /home/kenton11/public_html/amember/library/Am/Db.php:51 Stack trace: #0 [internal function]: Am_Db::defaultDatabaseErrorHandler('MySQL server ha...', Array) #1 /home/kenton11/public_html/amember/library/DbSimple/Generic.php(1356): call_user_func(Array, 'MySQL server ha...', Array) #2 /home/kenton11/public_html/amember/library/DbSimple/Generic.php(973): DbSimple_Generic_LastError->_setLastError(2006, 'MySQL server ha...', 'REPLACE INTO am...') #3 /home/kenton11/public_html/amember/l in /home/kenton11/public_html/amember/library/Am/Db.php on line 51