Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted April 21, 20232 yr Hi. We are having a problem regarding themes when creating/uploading a new theme even if it's an official one from IPS ( default theme ). We get [HTTP ERROR 500] when selecting a new theme but we cannot figure out why we get this error. We tried disabling all the plugins & applications one by one to see if there is a Third Party Hook error. 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/domain/public_html/forum/system/Theme/Theme.php(885) : eval()'d code on line 9309
April 21, 20232 yr Community Expert Solution There is likely a template which is either being injected/inherited or a template is out of date. You will need to review your custom/outdated templates and upgrade them to be compatible with PHP 8.
April 29, 20232 yr Author On 4/22/2023 at 12:20 AM, Jim M said: There is likely a template which is either being injected/inherited or a template is out of date. You will need to review your custom/outdated templates and upgrade them to be compatible with PHP 8. Problem solved. It was from some plugins and also a template.