cancel
Showing results for 
Search instead for 
Did you mean: 

Conflicting component dependencies - Magento Composer Installer Problem

Conflicting component dependencies - Magento Composer Installer Problem

Hi,

I'm currently trying to upgrade a Magento 2.1.5 site to the latest version but I'm getting a Conflicting component dependencies error:

Check Component Dependency

We found conflicting component dependencies. Hide detail

Command "update" failed: Loading composer repositories with package information
Updating dependencies (including require-dev)

[Composer\Downloader\TransportException]
The "http://packagist.org/p/paragonie/random_compat%24d5d7de85678ad5420f4c2bd3e9ac9c1bb6468007be1b83712904bdd19d4c178c.json" file could not be downloaded (HTTP/1.1 302 Found)

update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-plugins] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--with-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [-i|--interactive] [--root-reqs] [packages1] ... [packagesN]

When checking the composer, having run a "composer diagnose" command I've got this error:

 

PHP Parse error: syntax error, unexpected '[', expecting ')' in /var/www/vhosts/xxxxxxxxx/xxxxxxxxxxxxxxx/vendor/magento/magento-composer-installer/src/MagentoHackathon/Composer/Magento/Plugin.php on line 190

 

Parse error: syntax error, unexpected '[', expecting ')' in /var/www/vhosts/xxxxxxxxx/xxxxxxxxxxxxxxx/vendor/magento/magento-composer-installer/src/MagentoHackathon/Composer/Magento/Plugin.php on line 190

 

Can anyone help?

 

Many thanks,

 

Jon