#0 /home/santacr1/public_html/app/database/Conexao.class.php(26): PDO->__construct('mysql:host=loca...', 'santacr1', 'IChTo7', Array) #1 /home/santacr1/public_html/app/database/Conexao.class.php(36): Conexao::Conectar() #2 /home/santacr1/public_html/app/database/Read.class.php(61): Conexao::getConn() #3 /home/santacr1/public_html/app/database/Read.class.php(78): Read->Connect() #4 /home/santacr1/public_html/app/database/Read.class.php(35): Read->Execute() #5 /home/santacr1/public_html/include/head.php(6): Read->ExeRead('prefeitura', 'WHERE precodigo...', 'precodigo=176') #6 /home/santacr1/public_html/sic.php(4): include_once('/home/santacr1/...') #7 {main}
Fatal error: Call to a member function setAttribute() on null in /home/santacr1/public_html/app/database/Conexao.class.php on line 31