Connection failed: SQLSTATE[HY000] [2006] MySQL server has gone away
Fatal error: Uncaught Error: Call to a member function prepare() on null in E:\Programs\xamp\htdocs\live\store\config\functions.php:840
Stack trace:
#0 E:\Programs\xamp\htdocs\live\store\config\functions.php(51): fetchUserIDByEmail(NULL)
#1 E:\Programs\xamp\htdocs\live\store\social\edit-colors.php(9): require_once('E:\\Programs\\xam...')
#2 {main}
thrown in E:\Programs\xamp\htdocs\live\store\config\functions.php on line 840