Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /lib/db/db.php:11 Stack trace: #0 /lib/db/db.php(7): db->connect() #1 /index.php(9): db->db() #2 {main} thrown in /lib/db/db.php on line 11