Symfony Check:requirements Fatal Error: Using $this When Not In Object

[Solved] Symfony Check:requirements Fatal Error: Using $this When Not In Object | Php Frameworks Symfony - Code Explorer | yomemimo.com
Question : symfony check:requirements Fatal error: Using $this when not in object context in C:\Users\Admin\.symfony\cache\check.php on line 778 exit status 255

Answered by : armando-flores

Just define an older version of php 7 to be used by your symfony system with:
echo 7 > .php-version
You can check your php version used by your symfony white marked with following:
symfony local:php:list

Source : | Last Update : Sun, 22 Nov 20

Answers related to symfony check:requirements Fatal error: Using $this when not in object context in C:\Users\Admin\.symfony\cache\check.php on line 778 exit status 255

Code Explorer Popular Question For Php Frameworks Symfony