Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Vasile Rogoz Posted December 7, 2023 Posted December 7, 2023 It's quite a stressful thing and at the same time strangely very cool. Since I adapted the platform to the new version of php 8x all themes whether I put a compatible one of 4.7 or any even if I try to put group name indicator that was taken from marcket place or even bump topic, these being compatible with php 8 or with that tima community drops with error 500 and appears in logs [07-Dec-2023 09:16:55 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/XXX/public_html/forum/system/Theme/Theme.php(885) : eval()'d code on line 8763 [07-Dec-2023 09:18:58 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/XXX/public_html/forum/system/Theme/Theme.php(885) : eval()'d code on line 8763 [07-Dec-2023 09:19:01 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/XXX/public_html/forum/system/Theme/Theme.php(885) : eval()'d code on line 8763 [07-Dec-2023 09:19:02 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/XXX/public_html/forum/system/Theme/Theme.php(885) : eval()'d code on line 8763 [07-Dec-2023 09:19:02 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/XXX/public_html/forum/system/Theme/Theme.php(885) : eval()'d code on line 8763 There's not even line 8763 in Themes.php, it's weirdly bad.
Adriano Faria Posted December 7, 2023 Posted December 7, 2023 Your theme is outdated. You’ll have to get a new version. Vasile Rogoz and Marc 2
Solution teraßyte Posted December 7, 2023 Solution Posted December 7, 2023 Even if you uploaded a new theme, you probably have an old plugin/application that isn't compatible with PHP 8. Their templates are added and parsed for all themes regardless. klashksa 1
Recommended Posts