1

I was trying to configure Easy Admin demo app on my local environment. I followed the steps given in easy admin GitHub repo. However, when I am trying to access the demo app, I am getting this error.

enter image description here

Since I haven't touched the file mentioned in the error, I am sure that this has something to do with the dependencies of the project. I tried updating the dependencies, clearing cache etc. with no success in getting rid of the error. Any help on this issue is appreciated.

Praveesh
  • 1,257
  • 1
  • 10
  • 23
  • 1
    The Parse error `syntax error, unexpected 'const' (T_CONST), expecting variable (T_VARIABLE)` means that there is php syntax error in the code, like `echo if;`. I'd check the entity class for `const`. It might be related to your PHP version as well, it might not support new syntax. – Tomas Votruba Aug 18 '18 at 19:26

0 Answers0