¡ Constant error in logs !

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • daviddrp
    Junior Member
    • Jun 2018
    • 5

    ¡ Constant error in logs !


    Hello everyone!

    Recently I have been checking the EspoCRM logs in the folder /home/xxxx/crm.xxxx.es/data/logs/espo-2019-11-09.log

    I could see that the following error is shown continuously:

    [2019-11-09 00:00:01] Espo.ERROR: Uncaught Exception ParseError: "syntax error, unexpected '?'" At /home/xxxx/crm.dxxxx.es/application/Espo/Core/Utils/Auth .php line 393 {"exception": "[object] (ParseError (code: 0): syntax error, unexpected '?' at /home/xxxx/crm.xxxx.es/application/Espo/Core/Utils/Auth. php: 393) "} []

    Once I have observed this error, I have gone to the route /home/xxxx/crm.xxxx.com/application/Espo/Core/Utils/Auth.php and I have been able to observe that the following code is on line 393:

    protected function getUser2FAMethod (\ Espo \ Entities \ User $ user):? string

    Would anyone know how to tell me what happens and how to solve this error to stop appearing in the log?

    Thanks in advance for your attention.

    Regards
  • luca
    Junior Member
    • Nov 2019
    • 1

    #2
    Hi,

    I've the same issue.

    I've tried to change the PHP version too bad the problem remains.

    Do you have fixed?

    Thanks!

    Comment

    Working...