Hi,
I used Softaculous to update my self-hosted invoice ninja v5 (ver pre-5.5) to the latest version 5.5.24. The previous version worked perfectly. As instructed, I selected the required PHP8.1 upgrade during installation. According to Softaculous, the installation went smoothly.
However, I am now getting following error
This page isn’t working xxxx.com is currently unable to handle this request.
HTTP ERROR 500
After the installation, I took screenshots of the relevant pages. If they are useful, I can forward them to you.
I have an Invoice Ninja v4 which worked without problems with PHPv7.4. However, I get the same above error after PHPv8.1 upgrade.
PHPv8.1 upgrade broke my latest ver Wordpress installation as well.
There is no error log available in “storage/logs”
There are no errors related to this issue in the server error logs.
It appears that the .env file has been populated correctly when compared to a known working version
The error.log in invoice ninja installation directory has only the following and nothing else
[29-Sep-2022 06:01:41 UTC] PHP Warning: Constant PASSWORD_DEFAULT already defined in /home/xxxx/public_html/inv5/update_pass.php on line 17
Looks like PHPv8.1 upgrade is the culprit on my server but I am not sure how to pinpoint the exact cause.
I’d really appreciate it if you could let me know how to go about determining the exact cause of this problem.
I was hoping to gather some info before I contact my webhosting. I’d appreciate it if you could have a look at the following screenshots to see if there is anything obvious. I used PHP selector to switch to the PHP ver8.1 as well but I still get the same error.
I checked the web version using phpinfo.php. It is “PHP Version 8.1.10”. I have the full phpinfo.php file and can forward you if you don’t mind to have a look at it.
This issue can be considered resolved. Apparently it was caused by the webhosting due to some missing extensions.
Thanks for the speedy replies, Hillel. I appreciated it.