Notice: Database connection failed: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/weddingfilming/lib/controller/store.php on line 185 Fatal error: Call to a member function setAttribute() on a non-object in /home/weddingfilming/lib/controller/store.php on line 189