cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2.3 - magmi 2 SODIUM_CRYPTO_PWHASH_SALTBYTES error

Magento 2.3 - magmi 2 SODIUM_CRYPTO_PWHASH_SALTBYTES error

How to solve the following error, 

 

https://github.com/macopedia/magmi-m2

 

Warning: Use of undefined constant SODIUM_CRYPTO_PWHASH_SALTBYTES - assumed 'SODIUM_CRYPTO_PWHASH_SALTBYTES' (this will throw an Error in a future version of PHP) in /var/www/html/test/pub/magmi/inc/magmi_auth.php on line 69

Warning: substr() expects parameter 3 to be int, string given in /var/www/html/test/pub/magmi/inc/magmi_auth.php on line 69

Warning: Use of undefined constant SODIUM_CRYPTO_PWHASH_SALTBYTES - assumed 'SODIUM_CRYPTO_PWHASH_SALTBYTES' (this will throw an Error in a future version of PHP) in /var/www/html/test/pub/magmi/inc/magmi_auth.php on line 71