PHP Parse error during Espo upgrade through CLI

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sapyantuk
    Senior Member
    • Oct 2020
    • 265

    PHP Parse error during Espo upgrade through CLI



    When attempting to upgrade my Espo installation through the command-line interface (CLI), I encountered an error message that reads as follows:

    "PHP Parse error: syntax error, unexpected ')', expecting '|' or variable (T_VARIABLE) in /home/domain.com/public_html/vendor/laminas/laminas-mail/src/Protocol/Smtp.php on line 329."

    I am seeking assistance in resolving this error. Could you please provide guidance on how to fix it?
    Last edited by sapyantuk; 06-23-2023, 04:33 AM.
  • item
    Active Community Member
    • Mar 2017
    • 1476

    #2
    Hi,

    make from cli
    php -v
    post the response
    go to

    and post the php version
    If you could give the project a star on GitHub. EspoCrm believe our work truly deserves more recognition. Thanks.​

    Comment

    Working...