We recently migrated one of our websites using EE to a new server running php7. We're getting the following error:
Fatal error: Cannot use EllisLab\ExpressionEngine\Library\Parser\Conditional\Token\Bool as Bool because 'Bool' is a special class name in /home/.../public_html/system/EllisLab/ExpressionEngine/Library/Parser/Conditional/Lexer.php on line 9
Here is line 9 from Lexer.php :
I tried setting 'allow_extensions' to 'n' and nothing changed. Also, I am able to log into the back-end.
Running EE version 2.10.2
It seems that using 'Bool' is no longer supported in php7. Does anyone know of a solution? Is there a fix for this in EE3?