Estou com o mesmo problema.
Instalei o NovoSGA 2.0.3 num Ubuntu, PHP 7.2, MySQL 5.7, Apache2. Já cadastrei Unidade, Departamento e Serviços; porém a Lotação aparece vazia, impedindo o cadastramento de novos usuários.
Apaguei o banco de dados e refiz o install, mas continuou com o mesmo erro.
Quando acesso o banco de dados pelo PHPMyAdmin, ele aponta o seguinte erro:
Warning in ./libraries/sql.lib.php#601
count(): Parameter must be an array or an object that implements Countable
Backtrace
./libraries/sql.lib.php#2038: PMA_isRememberSortingOrder(array)
./libraries/sql.lib.php#1984: PMA_executeQueryAndGetQueryResponse(
array,
boolean true,
string 'novosgadb',
string 'agendamentos',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
string '',
string './themes/pmahomme/img/',
NULL,
NULL,
NULL,
string 'SELECT * FROM `agendamentos`',
NULL,
NULL,
)
./sql.php#216: PMA_executeQueryAndSendQueryResponse(
array,
boolean true,
string 'novosgadb',
string 'agendamentos',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
string '',
string './themes/pmahomme/img/',
NULL,
NULL,
NULL,
string 'SELECT * FROM `agendamentos`',
NULL,
NULL,
)