commented out return self::$instances[$id];

has a case when 2 models were using in the case controller it was throwing this error:

PDO::prepare(): SQLSTATE[00000]: No error: PDO constructor was not called

Not entirely sure the solution so commented it out for now.