fballiano / docker-magento2

Cluster ready Magento2 + Varnish 7 + PHP 8.1 + Redis 6.2 + Elasticsearch 7.17 + SSL
355 stars 164 forks source link

An abstract factory could not create an instance #32

Closed rolandalla closed 5 years ago

rolandalla commented 5 years ago

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

fballiano commented 5 years ago

that's a bug which was introduced by magento 2.3.2, I'm already solving it upgrading libsodium... but that's a bad implementation by magento

rolandalla commented 5 years ago

You are right , saw that on 2.3.2 worked by updating libsodium to a >1.0.13*

fballiano commented 5 years ago

exactly, I'm updating the docker image but it seems docker hub is having troubles today...

rolandalla commented 5 years ago

Thanks for fast reply , will check the new Image tomorrow

fballiano commented 5 years ago

it seems that finally docker hub rebuilt the image and the libsodium is now updated, can you pull the new image?

rolandalla commented 5 years ago

Em another error now ....Warning: Use of undefined constant SODIUM_CRYPTO_PWHASH_ALG_ARGON2ID13 - assumed 'SODIUM_CRYPTO_PWHASH_ALG_ARGON2ID13' (this will throw an Error in a future version of PHP) in /var/www/html/vendor/magento/framework/Encryption/Encryptor.php on line 153

fballiano commented 5 years ago

mmm if there's an undefined constant there's nothing I can do about that. I don't get the error thou. are you in development mode?

rolandalla commented 5 years ago

Yes , I was in development mode . But it is a new magento project . Today I am out of office. Will check it tomorrow, maybe I was In harry :/ and did something wrong . Will let you know

fballiano commented 5 years ago

thanks

rolandalla commented 5 years ago

Just tested again, my mistake ..is working now :)