Announcement

Collapse
No announcement yet.

Upgrade from 5.9.4 to 6.0.10

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Upgrade from 5.9.4 to 6.0.10

    We have run for long time the EspoCrm and I decide to make upgrade to the last version but the procedure stopped in updating 5.9.4 to 6.0.10 with the following message in CLI

    Upgrading... This may take a while....PHP Fatal error: Declaration of PDO:repare(string $query, array $options = []): PDOStatement|false must be compatible with Doctrine\DBAL\Driver\Connection:repare($prepareString) in /var/www/vhosts/MYFOLDER/httpdocs/crm/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php on line 0

    I appreciate any help.
    I have backup so is no problem to lost something and my PHP is 7.4.33, my server can go up to 8.2.20

  • #2
    I find after a long search myself the solution. Posted before some time here
    Hello. When trying to upgrade from version 6.0.9 to 6.0.10, it is interrupted by this error: php ver 7.2 whith last update on this moment PHP 7.2.34-18+ubuntu16.04.1+deb.sury.org+1 (cli) (built: Feb 23 2021 15:07:41) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies


    In my case with Plesk server I needed to run
    /opt/plesk/php/7.4/bin/php command.php upgrade

    Comment

    Working...
    X