Sodium compat error

Yesterday, looking into error_log file I’ve found this error:

[15-Oct-2019 08:23:34 UTC] PHP Fatal error: Uncaught Error: Undefined constant ‘CRYPTO_AEAD_XCHACHA20POLY1305_IETF_KEYBYTES’ in /home/xxxx/public_html/wp-includes/sodium_compat/lib/constants.php:22

Sodium compat cryptographic library has been added into WP since 5.2 version.

But I never seen this error… someone knows something about this issue?

Thanks for any help!

Regards

2 Answers
2

You need to have the sodium PHP extension installed & enabled if you’re running PHP >7.2

Leave a Comment