DB connection exception: SQLSTATE[HY000] [2002] Operation not permitted Eccezione: Call to a member function query() on null