[SOLVED] Update Neos 3.0 -> 3.1 Symfony Error

Hey there,

i have a problem while updating neos 3.0 to 3.1. After running “composer update” and the installer starts the postUpdateAndInstall script the following error with Symfony occurs:

Wrong parameters for Neos\Flow\Package\Exception([string $message [, long $code [, Throwable $previous = NULL]]])

Anyone of you familiar with this error?


This could be related to https://github.com/neos/flow-development-collection/pull/1050

So basically what happens is that Flow detects that one of the packages exists more than once (or two packages share the same composer.json name) and tries to throw an Exception, but fails at that because the given error code is too large.

Check through all your own Packages inside the Packages Folder (Application/Sites/etc.) for duplicates and remove (or rename) one of the duplicates.

Edit: Alternatively, go to Neos.Flow\Package\PackageManager and remove the last three digits from the error code in Line 757, then rerun and you should see exactly which package is causing the issue.

A more helpful error message will show up with the next bugfix release :slight_smile:

Best Regards!

Thanks! That fixed my problem :slight_smile: