1

I have the same issue after migrating from 1.14.0.1 to 2.3.1 to 2.3.2

server2@server2-MS-7636:/var/www/html/Project1$ php bin/magento customer:hash:upgrade
    PHP Fatal error:  Uncaught TypeError: explode() expects parameter 2 to be string  , null given in /var/www/html/Project1/vendor/magento/framework/Encryption/Encryptor.php:322
    Stack trace:
    #0 /var/www/html/Project1/vendor/magento/framework/Encryption/Encryptor.php(322): explode(':', NULL, 3)
    #1 /var/www/html/Project1/vendor/magento/framework/Encryption/Encryptor.php(301): Magento\Framework\Encryption\Encryptor->explodePasswordHash(NULL)
    #2 /var/www/html/Project1/vendor/magento/module-customer/Console/Command/UpgradeHashAlgorithmCommand.php(69): Magento\Framework\Encryption\Encryptor->validateHashVersion(NULL)
    #3 /var/www/html/Project1/vendor/symfony/console/Command/Command.php(255):Magento\Customer\Console\Command\UpgradeHashAlgorithmCommand->execute(Object(Symfo      ny\Component\Console\Input\ArgvInput),Object(Symfony\Component\Console\Output\ConsoleOutput))
    #4 /var/www/html/Project1/vendor/magento/framework/Interception/Interceptor.php(58): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\C in/var/www/html/Project1/vendor/magento/framework/Encryption/Encryptor.php                                                                              on line 322
    Fatal error: Uncaught TypeError: explode() expects parameter 2 to be string,null given in /var/www/html/Project1/vendor/magento/framework/Encryption/Encryptor.php:322
    Stack trace:
    #0 /var/www/html/Project1/vendor/magento/framework/Encryption/Encryptor.php(322): explode(':', NULL, 3)
    #1 /var/www/html/Project1/vendor/magento/framework/Encryption/Encryptor.php(301): Magento\Framework\Encryption\Encryptor->explodePasswordHash(NULL)
    #2 /var/www/html/Project1/vendor/magento/module-customer/Console/Command/Upgr                                                                             adeHashAlgorithmCommand.php(69): Magento\Framework\Encryption\Encryptor->validateHashVersion(NULL)
    #3 /var/www/html/Project1/vendor/symfony/console/Command/Command.php(255): Ma                                                                             gento\Customer\Console\Command\UpgradeHashAlgorithmCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
    #4 /var/www/html/Project1/vendor/magento/framework/Interception/Interceptor.php(58): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\C in /var/www/html/Project1/vendor/magento/framework/Encryption/Encryptor.php    on line 322
0

Try this i have same issue and now it's working for me.

TRUNCATE TABLE `customer_entity_varchar`;
| improve this answer | |
  • Thanks Jimit , Its working fine – Pravin Aug 23 '19 at 17:02
  • Not working for me – Dinesh Thakur Feb 27 at 6:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.