Fatal error: Uncaught Error: Call to a member function query() on null in /var/www/release/horario.1.97.2/class/dao/EmpresaDao.class.php:394 Stack trace: #0 /var/www/release/horario.1.97.2/class/Empresa.class.php(259): EmpresaDao->pesquisarCode('AGENCIAAGENCIA7...') #1 /var/www/release/horario.1.97.2/header.php(79): Empresa->pesquisarCode('AGENCIAAGENCIA7...') #2 /var/www/release/horario.1.97.2/index.php(238): include('/var/www/releas...') #3 {main} thrown in /var/www/release/horario.1.97.2/class/dao/EmpresaDao.class.php on line 394