Postata in: 'mysqli_sql_exception: Access denied; you need (at least one of) the SUPER or SYSTEM_VARIABLES_ADMIN privilege(s) for this operation in'
Per cambiare il max_allowed_packet ci sono altri modi, guarda questo post: "Come cambiare il valore del max_allowed_packet"