cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2.4.2 Update Admin Error

SOLVED

Re: Magento 2.4.2 Update Admin Error

My Webhost swears all the latest extensions/patches are installed on their end and sent me back here. Is there anything I can do from cPanel or CLI on my end to fix this?

Note this issue is also for Mag 2.4.1-p1.

Also note, customer login on the front end also fails - I assume for the same reason.

I've tried switching between php7.3 and 7.4 in multiPHP manager and forcing php7.3 or 7.4 in .htaccess (

AddHandler application/x-httpd-php73.php

) to no avail.

Re: Magento 2.4.2 Update Admin Error

Run the command:

php -m

 

If sodium isn't listed it is not installed, from what I read.  I posted earlier how to install sodium, and that worked for me....that is until Elasticsearch started randomly stopping, but that is another issue

Re: Magento 2.4.2 Update Admin Error

Thank you! Indeed Libsodium was not installed.  My webhost was able to install and indeed 

php -m | grep sodium  

on root dir confirms libsodium install.  

Note this fixed login issue on both front and back ends of Mag 2.4.1-p1.

Now on to update to 2.4.2 - I assume that will work now too Smiley Happy

Thanks again for finding the solution.

Re: Magento 2.4.2 Update Admin Error

Thank you very much!

It was only a klick in Cpanel (PHP Version) to activate sodium

 

Re: Magento 2.4.2 Update Admin Error

[root@server1 ~]# php -m [PHP Modules] bcmath bz2 calendar Core ctype curl date dom exif fileinfo filter ftp gd gettext gmp hash iconv imagick imap intl json libxml mbstring mysqli mysqlnd openssl pcntl pcre PDO pdo_mysql pdo_sqlite Phar posix pspell Reflection session SimpleXML soap sockets sodium SPL sqlite3 standard sysvmsg sysvsem sysvshm tidy tokenizer xml xmlreader xmlrpc xmlwriter xsl zip zlib [Zend Modules] and still getting this error

Re: Magento 2.4.2 Update Admin Error

me too same error with 2.4.2

Re: Magento 2.4.2 Update Admin Error

AddHandler application/x-httpd-php73.php

i put in in the htacess file in the pub folder and that solved the problem for me hope it helps you