Prezado Lino,
ao instalar o GC2 no Centos 7.9, no postgres 9.6.23, php 7.2 e moodle 3.9.1, recebi a seguinte mensagem de erro:
```
Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/avaprogep/moodle/gc2/vendor/symfony/monolog-bundle/Symfony/Bundle/MonologBundle/DependencyInjection/Configuration.php on line 459
Deprecated: getEntityManager is deprecated since Symfony 2.1. Use getManager instead in /var/www/avaprogep/moodle/gc2/vendor/doctrine/doctrine-bundle/Doctrine/Bundle/DoctrineBundle/Registry.php on line 71
Deprecated: getEntityManager is deprecated since Symfony 2.1. Use getManager instead in /var/www/avaprogep/moodle/gc2/vendor/doctrine/doctrine-bundle/Doctrine/Bundle/DoctrineBundle/Registry.php on line 71
Deprecated: getEntityManager is deprecated since Symfony 2.1. Use getManager instead in /var/www/avaprogep/moodle/gc2/vendor/doctrine/doctrine-bundle/Doctrine/Bundle/DoctrineBundle/Registry.php on line 71
Deprecated: getEntityManager is deprecated since Symfony 2.1. Use getManager instead in /var/www/avaprogep/moodle/gc2/vendor/doctrine/doctrine-bundle/Doctrine/Bundle/DoctrineBundle/Registry.php on line 71
Deprecated: getEntityManager is deprecated since Symfony 2.1. Use getManager instead in /var/www/avaprogep/moodle/gc2/vendor/doctrine/doctrine-bundle/Doctrine/Bundle/DoctrineBundle/Registry.php on line 71
Deprecated: getEntityManager is deprecated since Symfony 2.1. Use getManager instead in /var/www/avaprogep/moodle/gc2/vendor/doctrine/doctrine-bundle/Doctrine/Bundle/DoctrineBundle/Registry.php on line 71
Fatal error: Uncaught PDOException: SQLSTATE[42P01]: Undefined table: 7 ERROR: relation "system_module_config_global" does not exist LINHA 1: SELECT COUNT(s0_.id) AS sclr0 FROM system_module_config_glob... ^ in /var/www/avaprogep/moodle/gc2/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:694 Stack trace: #0 /var/www/avaprogep/moodle/gc2/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(694): PDOStatement->execute() #1 /var/www/avaprogep/moodle/gc2/vendor/doctrine/orm/lib/Doctrine/ORM/Query/Exec/SingleSelectExecutor.php(50): Doctrine\DBAL\Connection->executeQuery('SELECT COUNT(s0...', Array, Array, NULL) #2 /var/www/avaprogep/moodle/gc2/vendor/doctrine/orm/lib/Doctrine/ORM/Query.php(286): Doctrine\ORM\Query\Exec\SingleSelectExecutor->execute(Object(Doctrine\DBAL\Connection), Array, Array) #3 /var/www/avaprogep/moodle/gc2/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php(794): Doctrine\ORM\Query->_doExecute() #4 /var/www/avaprogep/moodle/gc2/vendor/doctrine/orm/lib in /var/www/avaprogep/moodle/gc2/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php on line 91
```
Saberia informar o que pode estar acontecendo?
atenciosamente,
Adriano Moreno