PHP Fatal error: sodium_init() in Unknown on line 0

Solution 1:

sudo apt remove php-libsodium

The modern Sodium cryptography library has now become a core extension in PHP. http://php.net/manual/en/migration72.new-features.php