I have a fully patched v4.7.0 running. I switched my server from PHP 7.4 to 8.0. When I did that, there was a 500 error in the browser. When I looked at the server logs, I saw the following repeated several times:
[27-Jul-2022 15:07:10 UTC] PHP Fatal error: Unparenthesized `a ? b : c ? d : e` is not supported. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /home/realtree/forums.realtree.com/public_html/system/Theme/Theme.php(885) : eval()'d code on line 525
I have another fully patched v4.7.0 running on the same server. That site had no issues when I switched to PHP 8.0. Is this some type of theme problem? I compared the Theme.php file in both sites, and they're identical.