We recently upgraded to magento 2.4.4. Upgrade was successful and we are able to login to magento backend. However frontend is showing following error:
{"Error":"Something went wrong please try again"}
Nothing in nginx, php-fpm or magento logs.
Hi @farrukhk ,
1) From which version you have upgraded?
2) Please do below change in app/bootstrap.php
From:
#ini_set('display_errors', 1);
To:
ini_set('display_errors', 1);
After above change reload front-end and you will see some error in detail.
Please provide that error.
3) When you reload front-end you might see some error in var/exception.log and var/system.log files. Please provide that errors also.
Problem Solved? Accept as Solution!
Hope it helps!
Thanks
Hi Ankit,
We upgraded from 2.4.2-p1
I have added ini_set('display_errors', 1); but no errors are shown.
Please check www.hirelivesupport.com
Hi @farrukhk ,
Please check https://devdocs.magento.com/guides/v2.4/install-gde/system-requirements.html
and confirm your system meets 2.4.4 version requirements.
Problem Solved? Accept as Solution!
Hope it helps!
Thanks
Hi Ankit,
The same server is running 2.4.4 commerce edition so I am sure server meets the Magento requirement. Other than that, the backend is working fine.
Any idea what is throwing this error:
{"Error":"Something went wrong please try again"}
Is it magento or nginx etc?
Hi @farrukhk ,
Please try to add some echo "test"; exit; or die() in pub/index.php and confirm that your pub/index.php called when you execute http://www.hirelivesupport.com/ in browser.
Hope it helps!
Thanks
Yes, its seems that index.php is called when opening the URL www.hirelivesupport.com
I reinstalled magento 2.4.4 and then I connected the old db. Issue is resolved now.