This is the error I face when I try to run any code in terminal

Fatal error: Allowed memory size of 2097152 bytes exhausted (tried to allocate 28672 bytes) in C:\xampp\htdocs\magneto\vendor\paragonie\sodium_compat\lib\sodiu m_compat.php on line 647

This is the code in line 647>>>

if (!is_callable('\\Sodium\\crypto_sign_secretkey')) {

     * @see ParagonIE_Sodium_Compat::crypto_sign_secretkey()
     * @param string $keypair
     * @return string
     * @throws \SodiumException
     * @throws \TypeError
    function crypto_sign_secretkey($keypair)
        return ParagonIE_Sodium_Compat::crypto_sign_secretkey($keypair);

Your Answer

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

Browse other questions tagged or ask your own question.