PHP ternary operator


Just trying to run up CA. Ubnutu 20.x / PHP V8.1.2

Getting this error on installation.

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 /var/www/ca/app/lib/Search/SearchIndexer.php on line 1465

Also there are ',' comma separated array elements in both boolean expressions and results.

Its stumped the chumps here. Is there a fix? Help?

Thanks Buzz


Sign In or Register to comment.