object(PDOException)#3 (8) { ["message":protected]=> string(99) "SQLSTATE[HY000] [2002] Can't connect to local server through socket '/var/lib/mysql/mysql.sock' (2)" ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(2002) ["file":protected]=> string(59) "/home/cubepdev/v6.speedcubedb.com/includes/dbConnection.php" ["line":protected]=> int(60) ["trace":"Exception":private]=> array(4) { [0]=> array(6) { ["file"]=> string(59) "/home/cubepdev/v6.speedcubedb.com/includes/dbConnection.php" ["line"]=> int(60) ["function"]=> string(11) "__construct" ["class"]=> string(3) "PDO" ["type"]=> string(2) "->" ["args"]=> array(4) { [0]=> string(48) "mysql:host=localhost;dbname=cubepdev_speedcubedb" [1]=> string(19) "cubepdev_scdbv5user" [2]=> string(10) "XOdpp8321!" [3]=> array(3) { [1002]=> string(14) "SET NAMES utf8" [12]=> bool(true) [3]=> int(2) } } } [1]=> array(6) { ["file"]=> string(59) "/home/cubepdev/v6.speedcubedb.com/includes/dbConnection.php" ["line"]=> int(102) ["function"]=> string(11) "__construct" ["class"]=> string(12) "dbConnection" ["type"]=> string(2) "->" ["args"]=> array(0) { } } [2]=> array(6) { ["file"]=> string(50) "/home/cubepdev/v6.speedcubedb.com/preface.part.php" ["line"]=> int(16) ["function"]=> string(11) "getInstance" ["class"]=> string(12) "dbConnection" ["type"]=> string(2) "::" ["args"]=> array(0) { } } [3]=> array(4) { ["file"]=> string(43) "/home/cubepdev/v6.speedcubedb.com/index.php" ["line"]=> int(2) ["args"]=> array(1) { [0]=> string(50) "/home/cubepdev/v6.speedcubedb.com/preface.part.php" } ["function"]=> string(12) "require_once" } } ["previous":"Exception":private]=> NULL ["errorInfo"]=> NULL }
Notice: Undefined variable: path in /home/cubepdev/v6.speedcubedb.com/includes/dbConnection.php on line 69

Fatal error: Uncaught Error: Call to a member function query() on null in /home/cubepdev/v6.speedcubedb.com/classes/category.class.php:52 Stack trace: #0 /home/cubepdev/v6.speedcubedb.com/index.php(78): category->__construct(NULL, 'ELL', false) #1 {main} thrown in /home/cubepdev/v6.speedcubedb.com/classes/category.class.php on line 52