AdvanedPack 2.1.0 install doctrine issue

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • item
    Active Community Member
    • Mar 2017
    • 1476

    AdvanedPack 2.1.0 install doctrine issue

    Hello,
    I have Version of Pack 1.3.34 and the update to 2.0.0. .. Ok
    Atfer update to 2.1.0 and :

    PHP Code:
    [2019-03-31 08:41:08] Espo.WARNING: E_WARNING: Declaration of Espo\Core\Utils\Database\DBAL\Schema\Table::addIndex(array $columnNames, $indexName = NULL, array $flags = Array) should be compatible with Doctrine\DBAL\Schema\Table::addIndex(array $columnNames, $indexName = NULL, array $flags = Array, array $options = Array) {"code":2,"message":"Declaration of Espo\\Core\\Utils\\Database\\DBAL\\Schema\\Table::addIndex(array $columnNames, $indexName = NULL, array $flags = Array) should be compatible with Doctrine\\DBAL\\Schema\\Table::addIndex(array $columnNames, $indexName = NULL, array $flags = Array, array $options = Array)","file":"/var/www/vhosts/htdocs/application/Espo/Core/Utils/Database/DBAL/Schema/Table.php","line":35} [] 
    
    espoVersion : 5.6.0
    phpVersion : 7.1.2

    I have do a composer update and this is his content : composer.json :
    PHP Code:
        "require": {
            "php": ">=7.1.0",
            "ext-pdo_mysql": "*",
            "ext-openssl": "*",
            "ext-json": "*",
            "ext-zip": "*",
            "ext-gd": "*",
            "ext-mbstring": "*",
            "ext-xml": "*",
            "ext-curl": "*",
            "ext-exif": "*",
            "doctrine/dbal": "2.*",
            "slim/slim": "2.6.2",
            "mtdowling/cron-expression": "1.0.*",
            "zendframework/zend-mail": "2.10.0",
            "zendframework/zend-ldap": "2.*",
            "zendframework/zend-servicemanager": "3.3.2",
            "monolog/monolog": "1.*",
            "yzalis/identicon": "*",
            "zordius/lightncandy": "0.*",
            "composer/semver": "^1.4",
            "tecnickcom/tcpdf": "^6.2",
            "php-mime-mail-parser/php-mime-mail-parser": "3.*",
            "zbateson/mail-mime-parser": "0.4.*",
            "phpoffice/phpspreadsheet": "^1.1",
            "spatie/async": "dev-for-espocrm",
            "symfony/process": "4.1.7",
            "cboden/ratchet": "^0.4.1",
            "react/zmq": "^0.4.0",
            "guzzlehttp/psr7": "^1.5",
            "michelf/php-markdown": "^1.8",
            "container-interop/container-interop": "1.2.0",
            "zendframework/zend-mime": "^2.7.1",
            "zendframework/zend-stdlib": "^3.1" 
    

    PHP Code:
    
    [2019-03-31 09:00:36] Espo.WARNING: E_WARNING: Declaration of Espo\Core\Utils\Database\DBAL\Schema\Table::addIndex(array $columnNames, $indexName = NULL, array $flags = Array) should be compatible with Doctrine\DBAL\Schema\Table::addIndex(array $columnNames, $indexName = NULL, array $flags = Array, array $options = Array) {"code":2,"message":"Declaration of Espo\\Core\\Utils\\Database\\DBAL\\Schema\\Table::addIndex(array $columnNames, $indexName = NULL, array $flags = Array) should be compatible with Doctrine\\DBAL\\Schema\\Table::addIndex(array $columnNames, $indexName = NULL, array $flags = Array, array $options = Array)","file":"/var/www/vhosts/htdocs/application/Espo/Core/Utils/Database/DBAL/Schema/Table.php","line":35} []
    [2019-03-31 09:01:02] Espo.ERROR: CronManager: Failed job running, job [5ca07f3a2f910d535]. Error Details: No class name for job SynchronizeEventsWithGoogleCalendar. [] [] 
    

    Any Help ?

    Regard
    Last edited by item; 03-31-2019, 09:02 AM.
    If you could give the project a star on GitHub. EspoCrm believe our work truly deserves more recognition. Thanks.​
  • item
    Active Community Member
    • Mar 2017
    • 1476

    #2
    Hello,
    ok resolved ..
    replace /vendor/doctrine with one of espocrm5.6.0
    composer update --ignore-platform-reqs

    And all return normal

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

    Comment

    Working...