Alexandru Posted April 21, 2023 Share Posted April 21, 2023 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 Link to comment Share on other sites More sharing options...
Solution Jim M Posted April 21, 2023 Solution Share Posted April 21, 2023 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. Link to comment Share on other sites More sharing options...
Alexandru Posted April 29, 2023 Author Share Posted April 29, 2023 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. Tabilo 1 Link to comment Share on other sites More sharing options...
Recommended Posts