500 server error and JSON errors on certain admin pages

Greetings and thank you for this piece of software. We are considering moving our journal to it and as such are working on trying it out. However, I am running into some errors.

First some basic info:

  • Current version: 3.3.0.13
  • PHP 8.1.14
  • standard theme, no changes made yet,

Some of the errors encountered are the following:

  1. On the URL: index.php/journal/management/settings/distribution we get a 500 server error,

  2. In index.php/journal/management/settings/access#users when I click “Add user” I get a "Failed Ajax request or invalid JSON returned, the URL being called in the Console gives states that the following resource failed to load: /index.php/journal/$$$call$$$/grid/settings/user/user-grid/add-user?_=1673774422362

My server error log is full of the following info:

[15-Jan-2023 09:27:52 UTC] PHP Deprecated:  Return type of ADODB_Iterator_empty::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in lib/pkp/lib/vendor/adodb/adodb-php/adodb.inc.php on line 3141

[15-Jan-2023 09:27:52 UTC] PHP Deprecated:  Return type of ADORecordSet::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in lib/pkp/lib/vendor/adodb/adodb-php/adodb.inc.php on line 3356
[15-Jan-2023 09:27:52 UTC] PHP Deprecated:  Return type of DAOResultIterator::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in lib/pkp/classes/db/DAOResultIterator.inc.php on line 39

[15-Jan-2023 09:27:52 UTC] PHP Deprecated:  Return type of Illuminate\Container\Container::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 1271

[15-Jan-2023 09:27:52 UTC] PHP Deprecated:  Return type of Illuminate\Support\Fluent::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Support/Fluent.php on line 73

[15-Jan-2023 09:27:57 UTC] PHP Deprecated:  Return type of Doctrine\DBAL\Driver\PDOConnection::exec($sql) should either be compatible with PDO::exec(string $statement): int|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in lib/pkp/lib/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php on line 49
[15-Jan-2023 09:27:57 UTC] PHP Deprecated:  Return type of Doctrine\DBAL\Driver\PDOConnection::lastInsertId($name = null) should either be compatible with PDO::lastInsertId(?string $name = null): string|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in lib/pkp/lib/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php on line 98
[15-Jan-2023 09:27:57 UTC] PHP Deprecated:  Return type of Doctrine\DBAL\Driver\PDOConnection::prepare($sql, $driverOptions = []) should either be compatible with PDO::prepare(string $query, array $options = []): PDOStatement|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in lib/pkp/lib/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php on line 75
[15-Jan-2023 09:27:57 UTC] PHP Deprecated:  Return type of Doctrine\DBAL\Driver\PDOConnection::quote($value, $type = Doctrine\DBAL\ParameterType::STRING) should either be compatible with PDO::quote(string $string, int $type = PDO::PARAM_STR): string|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in lib/pkp/lib/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php on line 90

[15-Jan-2023 09:28:03 UTC] PHP Deprecated:  htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in lib/pkp/lib/vendor/smarty/smarty/libs/plugins/modifier.escape.php on line 39
[15-Jan-2023 09:28:06 UTC] PHP Deprecated:  Return type of ADODB_Iterator_empty::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in lib/pkp/lib/vendor/adodb/adodb-php/adodb.inc.php on line 3149
[15-Jan-2023 09:28:06 UTC] PHP Deprecated:  Return type of ADODB_Iterator_empty::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in lib/pkp/lib/vendor/adodb/adodb-php/adodb.inc.php on line 3153
[15-Jan-2023 09:28:06 UTC] PHP Deprecated:  Return type of ADODB_Iterator_empty::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in lib/pkp/lib/vendor/adodb/adodb-php/adodb.inc.php on line 3145
[15-Jan-2023 09:28:06 UTC] PHP Deprecated:  Return type of ADODB_Iterator_empty::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in lib/pkp/lib/vendor/adodb/adodb-php/adodb.inc.php on line 3141
[15-Jan-2023 09:28:06 UTC] PHP Deprecated:  Return type of ADODB_Iterator_empty::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in lib/pkp/lib/vendor/adodb/adodb-php/adodb.inc.php on line 3139
[15-Jan-2023 09:28:06 UTC] PHP Deprecated:  Return type of ADORecordSet_empty::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in lib/pkp/lib/vendor/adodb/adodb-php/adodb.inc.php on line 3204
[15-Jan-2023 09:28:06 UTC] PHP Deprecated:  Return type of ADODB_Iterator::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in lib/pkp/lib/vendor/adodb/adodb-php/adodb.inc.php on line 3276
[15-Jan-2023 09:28:06 UTC] PHP Deprecated:  Return type of ADODB_Iterator::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in lib/pkp/lib/vendor/adodb/adodb-php/adodb.inc.php on line 3280
[15-Jan-2023 09:28:06 UTC] PHP Deprecated:  Return type of ADODB_Iterator::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in lib/pkp/lib/vendor/adodb/adodb-php/adodb.inc.php on line 3272
[15-Jan-2023 09:28:06 UTC] PHP Deprecated:  Return type of ADODB_Iterator::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in lib/pkp/lib/vendor/adodb/adodb-php/adodb.inc.php on line 3268
[15-Jan-2023 09:28:06 UTC] PHP Deprecated:  Return type of ADODB_Iterator::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in lib/pkp/lib/vendor/adodb/adodb-php/adodb.inc.php on line 3264
[15-Jan-2023 09:28:06 UTC] PHP Deprecated:  Return type of ADORecordSet::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in lib/pkp/lib/vendor/adodb/adodb-php/adodb.inc.php on line 3356
[15-Jan-2023 09:28:06 UTC] PHP Deprecated:  Return type of DAOResultIterator::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in lib/pkp/classes/db/DAOResultIterator.inc.php on line 39
[15-Jan-2023 09:28:06 UTC] PHP Deprecated:  Return type of DAOResultIterator::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in lib/pkp/classes/db/DAOResultIterator.inc.php on line 58
[15-Jan-2023 09:28:06 UTC] PHP Deprecated:  Return type of DAOResultIterator::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in lib/pkp/classes/db/DAOResultIterator.inc.php on line 49
[15-Jan-2023 09:28:06 UTC] PHP Deprecated:  Return type of DAOResultIterator::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in lib/pkp/classes/db/DAOResultIterator.inc.php on line 75
[15-Jan-2023 09:28:06 UTC] PHP Deprecated:  Return type of DAOResultIterator::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in lib/pkp/classes/db/DAOResultIterator.inc.php on line 68
[15-Jan-2023 09:28:06 UTC] PHP Deprecated:  Return type of DAOResultIterator::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in lib/pkp/classes/db/DAOResultIterator.inc.php on line 82
[15-Jan-2023 09:28:06 UTC] PHP Deprecated:  Return type of Illuminate\Container\Container::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 1271
[15-Jan-2023 09:28:06 UTC] PHP Deprecated:  Return type of Illuminate\Container\Container::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 1282
[15-Jan-2023 09:28:06 UTC] PHP Deprecated:  Return type of Illuminate\Container\Container::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 1294
[15-Jan-2023 09:28:06 UTC] PHP Deprecated:  Return type of Illuminate\Container\Container::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 1307
[15-Jan-2023 09:28:06 UTC] PHP Deprecated:  Return type of Illuminate\Support\Fluent::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Support/Fluent.php on line 95
[15-Jan-2023 09:28:06 UTC] PHP Deprecated:  Return type of Illuminate\Support\Fluent::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Support/Fluent.php on line 106
[15-Jan-2023 09:28:06 UTC] PHP Deprecated:  Return type of Illuminate\Support\Fluent::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Support/Fluent.php on line 118
[15-Jan-2023 09:28:06 UTC] PHP Deprecated:  Return type of Illuminate\Support\Fluent::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Support/Fluent.php on line 129
[15-Jan-2023 09:28:06 UTC] PHP Deprecated:  Return type of Illuminate\Support\Fluent::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Support/Fluent.php on line 73
[15-Jan-2023 09:28:06 UTC] PHP Deprecated:  Return type of Doctrine\DBAL\Driver\PDOConnection::exec($sql) should either be compatible with PDO::exec(string $statement): int|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in lib/pkp/lib/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php on line 49
[15-Jan-2023 09:28:06 UTC] PHP Deprecated:  Return type of Doctrine\DBAL\Driver\PDOConnection::lastInsertId($name = null) should either be compatible with PDO::lastInsertId(?string $name = null): string|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in lib/pkp/lib/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php on line 98
[15-Jan-2023 09:28:06 UTC] PHP Deprecated:  Return type of Doctrine\DBAL\Driver\PDOConnection::prepare($sql, $driverOptions = []) should either be compatible with PDO::prepare(string $query, array $options = []): PDOStatement|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in lib/pkp/lib/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php on line 75
[15-Jan-2023 09:28:06 UTC] PHP Deprecated:  Return type of Doctrine\DBAL\Driver\PDOConnection::quote($value, $type = Doctrine\DBAL\ParameterType::STRING) should either be compatible with PDO::quote(string $string, int $type = PDO::PARAM_STR): string|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in lib/pkp/lib/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php on line 90
[15-Jan-2023 09:28:06 UTC] PHP Deprecated:  Return type of Doctrine\DBAL\Driver\PDOQueryImplementation::query(?string $query = null, ?int $fetchMode = null, mixed ...$fetchModeArgs) should either be compatible with PDO::query(string $query, ?int $fetchMode = null, mixed ...$fetchModeArgs): PDOStatement|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in lib/pkp/lib/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOQueryImplementation.php on line 20
[15-Jan-2023 09:28:06 UTC] PHP Deprecated:  Return type of Doctrine\DBAL\Driver\PDOStatement::bindParam($param, &$variable, $type = Doctrine\DBAL\ParameterType::STRING, $length = null, $driverOptions = null) should either be compatible with PDOStatement::bindParam(string|int $param, mixed &$var, int $type = PDO::PARAM_STR, int $maxLength = 0, mixed $driverOptions = null): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in lib/pkp/lib/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php on line 82
[15-Jan-2023 09:28:06 UTC] PHP Deprecated:  Return type of Doctrine\DBAL\Driver\PDOStatement::bindValue($param, $value, $type = Doctrine\DBAL\ParameterType::STRING) should either be compatible with PDOStatement::bindValue(string|int $param, mixed $value, int $type = PDO::PARAM_STR): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in lib/pkp/lib/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php on line 62
[15-Jan-2023 09:28:06 UTC] PHP Deprecated:  Return type of Doctrine\DBAL\Driver\PDOStatement::closeCursor() should either be compatible with PDOStatement::closeCursor(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in lib/pkp/lib/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php on line 98
[15-Jan-2023 09:28:06 UTC] PHP Deprecated:  Return type of Doctrine\DBAL\Driver\PDOStatement::execute($params = null) should either be compatible with PDOStatement::execute(?array $params = null): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in lib/pkp/lib/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php on line 112
[15-Jan-2023 09:28:06 UTC] PHP Deprecated:  Return type of Doctrine\DBAL\Driver\PDOStatement::fetch($fetchMode = null, $cursorOrientation = PDO::FETCH_ORI_NEXT, $cursorOffset = 0) should either be compatible with PDOStatement::fetch(int $mode = PDO::FETCH_DEFAULT, int $cursorOrientation = PDO::FETCH_ORI_NEXT, int $cursorOffset = 0): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in lib/pkp/lib/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php on line 126
[15-Jan-2023 09:28:06 UTC] PHP Deprecated:  Return type of Doctrine\DBAL\Driver\PDOStatement::fetchColumn($columnIndex = 0) should either be compatible with PDOStatement::fetchColumn(int $column = 0): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in lib/pkp/lib/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php on line 146
[15-Jan-2023 09:28:06 UTC] PHP Deprecated:  Return type of Doctrine\DBAL\Driver\PDOStatementImplementations::fetchAll($mode = null, ...$args) should either be compatible with PDOStatement::fetchAll(int $mode = PDO::FETCH_DEFAULT, mixed ...$args): array, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in lib/pkp/lib/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatementImplementations.php on line 36
[15-Jan-2023 09:28:06 UTC] PHP Deprecated:  Return type of Pimple\Container::offsetExists($id) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in lib/pkp/lib/vendor/pimple/pimple/src/Pimple/Container.php on line 133
[15-Jan-2023 09:28:06 UTC] PHP Deprecated:  Return type of Pimple\Container::offsetGet($id) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in lib/pkp/lib/vendor/pimple/pimple/src/Pimple/Container.php on line 98
[15-Jan-2023 09:28:06 UTC] PHP Deprecated:  Return type of Pimple\Container::offsetSet($id, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in lib/pkp/lib/vendor/pimple/pimple/src/Pimple/Container.php on line 79
[15-Jan-2023 09:28:06 UTC] PHP Deprecated:  Return type of Pimple\Container::offsetUnset($id) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in lib/pkp/lib/vendor/pimple/pimple/src/Pimple/Container.php on line 143
[15-Jan-2023 09:28:06 UTC] PHP Deprecated:  Return type of Stringy\Stringy::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in lib/pkp/lib/vendor/danielstjules/stringy/src/Stringy.php on line 270
[15-Jan-2023 09:28:06 UTC] PHP Deprecated:  Return type of Stringy\Stringy::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in lib/pkp/lib/vendor/danielstjules/stringy/src/Stringy.php on line 453
[15-Jan-2023 09:28:06 UTC] PHP Deprecated:  Return type of Stringy\Stringy::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in lib/pkp/lib/vendor/danielstjules/stringy/src/Stringy.php on line 850
[15-Jan-2023 09:28:06 UTC] PHP Deprecated:  Return type of Stringy\Stringy::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in lib/pkp/lib/vendor/danielstjules/stringy/src/Stringy.php on line 873
[15-Jan-2023 09:28:06 UTC] PHP Deprecated:  Return type of Stringy\Stringy::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in lib/pkp/lib/vendor/danielstjules/stringy/src/Stringy.php on line 893
[15-Jan-2023 09:28:06 UTC] PHP Deprecated:  Return type of Stringy\Stringy::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in lib/pkp/lib/vendor/danielstjules/stringy/src/Stringy.php on line 906
[15-Jan-2023 09:28:06 UTC] PHP Deprecated:  Return type of Sokil\IsoCodes\AbstractDatabase::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in lib/pkp/lib/vendor/sokil/php-isocodes/src/AbstractDatabase.php on line 150
[15-Jan-2023 09:28:06 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function bindtextdomain() in lib/pkp/lib/vendor/sokil/php-isocodes/src/AbstractDatabase.php:87
Stack trace:
#0 lib/pkp/lib/vendor/sokil/php-isocodes/src/AbstractDatabase.php(46): Sokil\IsoCodes\AbstractDatabase->bindGettextDomain()
#1 lib/pkp/lib/vendor/sokil/php-isocodes/src/IsoCodesFactory.php(65): Sokil\IsoCodes\AbstractDatabase->__construct(NULL)
#2 lib/pkp/controllers/grid/settings/user/form/UserDetailsForm.inc.php(163): Sokil\IsoCodes\IsoCodesFactory->getCountries()
#3 lib/pkp/controllers/grid/settings/user/UserGridHandler.inc.php(287): UserDetailsForm->display(Object(Request))
#4 lib/pkp/controllers/grid/settings/user/UserGridHandler.inc.php(264): UserGridHandler->editUser(Array, Object(Request))
#5 lib/pkp/classes/core/PKPRouter.inc.php(395): UserGridHandler->addUser(Array, Object(Request))
#6 lib/pkp/classes/core/PKPComponentRouter.inc.php(257): PKPRouter->_authorizeInitializeAndCallRequest(Array, Object(Request), Array)
#7 lib/pkp/classes/core/Dispatcher.inc.php(144): PKPComponentRouter->route(Object(Request))
#8 lib/pkp/classes/core/PKPApplication.inc.php(362): Dispatcher->dispatch(Object(Request))
#9 index.php(68): PKPApplication->execute()
#10 {main}
  thrown in lib/pkp/lib/vendor/sokil/php-isocodes/src/AbstractDatabase.php on line 87

Any help is greatly appreciated!

Regards,

Sergei

Hi @Zarevac ,

have you tried this suggestion: PHP Fatal error: Uncaught Error: Call to undefined function bindtextdomain() in /home/thespirehosterz/public_html/dinkum/lib/pkp/lib/vendor/sokil/php-isocodes/src/AbstractDatabase.php:87 ?

Regards, Primož

Hi @primozs ,

I just checked but Cpanel doesn’t allow me to install it, it seems to be deprecated. Also, it was not on the requirements for the software to run on a server from what I saw?

Regards,

Sergei

Just doing some checking. The script is trying to call the “bindtextdomain” function, which is undefined, in the file “lib/pkp/lib/vendor/sokil/php-isocodes/src/AbstractDatabase.php” on line 87. It seems that the error is being thrown from the library “sokil/php-isocodes”. The library is trying to use the “bindtextdomain” function to set up localization for the library, but it is not available.

But I have very limited knowledge of OSJ and am just scratching the surface.

Ok I got it fixed. It was the Gettext but I had to restart the server… :slight_smile: