Hi @Andrea_Segura I managed to get it working again!
What I done:
- Changed Varnish cache into Redis followed by this tutorial:
https://digitalstartup.co.uk/t/how-to-install-and-setup-redis-for-magento-2-ubuntu/
Very easy and quick, thanks to @digitalstartup!
- After Redis installation and enabling with Magento you won’t see page or admin because of the error.
You just need to set the mode: bin/magento deploy:mode:set developer
And switch back to production mode: bin/magento deploy:mode:set production
It will compile Magento again and deploy static content
- I also flushed and cleared the cache
bin/magento cache:flush
bin/magento cache:clean
And that’s it! You will be able to see your website again.
One thing. I didn’t check if step number 2 from above can sort out the problem before I switched to Redis. Maybe it also a way to sort it out? But with the Redis on board it’s no problem at all.