Syntax Error in Application.php

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • EckhoffCleaning
    Junior Member
    • Jul 2021
    • 3

    Syntax Error in Application.php

    Good morning!

    After Upgrading from 6.x to 7.1.7 we got a ServerError 500.

    PHP says:

    Parse error: syntax error, unexpected 'Container' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) in /<EspoFolder>/application/Espo/Core/Application.php on line 51

    Anyone here, who knows how to solve this error?

    Thanks from Bremen DE
  • lazovic
    Super Moderator
    • Jan 2022
    • 809

    #2
    Hi EckhoffCleaning,

    Can you please tell me which PHP version you are using?

    Comment

    • EckhoffCleaning
      Junior Member
      • Jul 2021
      • 3

      #3
      Php 8.1.6

      Comment

      Working...