Magento 2.3.2 An abstract factory could not create an instance of magentoframeworkencryptionencryptor(alias: Magento\Framework\Encryption\Encryptor)

magento.stackexchange https://magento.stackexchange.com/questions/281356

문제

During the installation of Magento 2.3.2 an error appears when creating an admin account:

An abstract factory could not create an instance of magentoframeworkencryptionencryptor(alias: Magento\Framework\Encryption\Encryptor).

The PHP version is 7.2.3

enter image description here

Please help

도움이 되었습니까?

해결책

You need to upgrade your libsodium version to match the requirement, which is version 1.0.13 or above.

Ubuntu:

$ sudo apt install php-libsodium

CentOS:

$ yum install php-pecl-libsodium2

Restart your web-server.

After installing libsodium, make sure that it is loaded:

$ php -i | grep libsodium
libsodium headers version => 1.0.17
libsodium library version => 1.0.17

If you get another error such as PHP Fatal error: sodium_init() in Unknown on line 0, you should try installing libsodium using PECL. But for now at least you should try installing it using apt/yum first.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 magento.stackexchange
scroll top