It looks like Bool become a reserved class name on PHP 7. Therefore it needs rename.........
|Resolved||MaxSem||T122686 PHP7 Fatal error: Cannot use 'Bool' as class name as it is reserved in extensions/Elastica/Elastica/lib/Elastica/Query/Bool.php on line 15|
|Resolved||Reedy||T122696 Replace Elastica\Query\Bool usage in ttmserver|
Bool is deprecated now, you can use BoolQuery or BoolFilter if you have PHP7.
Bool will be removed in next releases.
If we've migrated any uses of the standalone bool class, we can hack remove it, but feels a bit icky.
First step is to make sure we've migrated any Bool to BoolQuery and BoolFilter
Then we update to version 3 when it's released
Seems Translate was the only usage of Query\Bool and Filter\Bool
However, we can't bump to Elastica 3.0.0 anyway, till we sort our PHP version requirements out.... As that requires PHP 5.4