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)`

If you are facing this error, website or web pages will show as blank or it will show like 500 internal Server Error.


Check you php version for the website. Because i have faced the same issue. When i checked the php version. it was PHP version 8.

My website elements or modules are not supporting with PHP 8.

So i have downgraded the PHP version to v4.

Thats it. Problem solved.

Try and share your experience in comment section. Thanks


Please enter your comment!
Please enter your name here