Upgrade OR update from PHP7.2 (OR less?) To PHP7.4 breaks ninjainvoice installations made from the server Installatron package manager.
Nearly ever server, shared or dedicated hosts WordPress. The latest version recommends for security reasons top upgrade PHP7.2 to a higher version. Which steen the vulnabilities, makes perfect sence.
Doing so unfortunately breaks invoiceninja into an unrecovable state. Both front and admin side are affected.
Initial installation is made from the Installatron package manager. Every upgrade and updates have been made to the latest version through the same Installatron package manager.
Nothing about this issue had been mentioned in the forum.
Therefore it somewhat bitter and discuraging to discover this after just made the paying for the white label.
2022-01-03 22:59:06] production.ERROR: ErrorException [0] : /home/domainname/domains/website.com/public_html/invoicing2/app/Models/Account.php [Line 1126] => Unparenthesized a ? b : c ?: d is deprecated. Use either (a ? b : c) ?: d or a ? b : (c ?: d) {“context”:“PHP”,“user_id”:0,“account_id”:0,“user_name”:"",“method”:“GET”,“user_agent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0”,“locale”:“en”,“ip”:“62.251.57.67”,“count”:2,“is_console”:“no”,“is_api”:“no”,“db_server”:“mysql”,“url”:"/"} []