rtrim() expects parameter 1 to be string, bool given vendor/magento/framework/Encryption/Adapter/Mcrypt.php(171): rtrim()

I had the same issue today. I found out the php mcrypt library was not installed.

I just installed it on my server using apt install php7.4-mcrypt

Now installation worked perfectly

Share