-
-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Illegal offset type in isset or empty" after update composer. #191
Comments
I got same error right now after updating composer to version dc2f201152f37c2563e328531a6af349ac287cce composer update -vvv Reading ./composer.json [ErrorException] Exception trace: |
Update the composer and global dependencies without plugin option:
If you still have an error is that the plugin is not the last vresion:
|
Ok, I just did a test. Composer has still changed! |
Solution found! I fix many tests and push just after. |
I´m struggling on the same issue with composer version 406e087a46e23efc082d08513b787d4f96e19691. Look: composer -vvv update Reading ./composer.json [ErrorException] Exception trace: |
Thanks to wait please. |
Fixed by 89cf36b. |
Composer version 1.0-dev (406e087a46e23efc082d08513b787d4f96e19691) 2016-02-25 13:10:46 composer update -vvv Reading ./composer.json [ErrorException] Exception trace: 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] [--] []... |
Try to reinstall from master if you still have problems:
|
After reinstall it works. Thank you! |
I will fix the travis bug, and I will release new version just after. |
is it possible this issue still persists? Did a re-install of With the Only way to get Composer working again is by rolling back:
|
Update plugin to
|
A new stable version v1.1.2 was released. |
@francoispluchino #191 (comment) was when having the plugin to updated Just upgraded to the stable When rollin back Composer to Only when further rolling back Composer to UPDATE |
@holtkamp My test for: {
"require": {
"bower-asset/bootstrap": "^3.3.0",
"bower-asset/jquery": "^2.2.0"
}
}
|
Update composer and its global dependencies solve this issue. Thank |
Still getting the error:
|
@arkhamvm, does the project you use composer for to update also use the |
@holtkamp, yes, but i got the same error when run update without |
If you use local |
|
Great it worked for me... Update plugin to dev-master: $ composer global require fxp/composer-asset-plugin:dev-master --no-plugins |
"francoispluchino commented 29 days ago $ composer selfupdate Thanks man, it helped. |
@matjack1 Your solution worked for me, thanks! |
The solution by @matjack1 also worked for me. Is not it possible to include it in self-update somehow? |
I update composer to version
dc2f201152f37c2563e328531a6af349ac287cce
with commandsudo composer self-update
.composer -V
Composer version 1.0-dev (dc2f201152f37c2563e328531a6af349ac287cce) 2016-02-24 19:54:01
After that I execute
composer update
and reserve this exception:[ErrorException] Illegal offset type in isset or empty
.This is trace:
Exception trace:
() at phar:///usr/local/bin/composer/src/Composer/Package/Version/VersionParser.php:26
Composer\Util\ErrorHandler::handle() at phar:///usr/local/bin/composer/src/Composer/Package/Version/VersionParser.php:26
Composer\Package\Version\VersionParser->parseConstraints() at /home/iushev/.composer/vendor/fxp/composer-asset-plugin/Repository/FilterUtil.php:41
Fxp\Composer\AssetPlugin\Repository\FilterUtil::getVersionConstraint() at /home/iushev/.composer/vendor/fxp/composer-asset-plugin/Repository/VcsPackageFilter.php:214
Fxp\Composer\AssetPlugin\Repository\VcsPackageFilter->satisfyVersion() at /home/iushev/.composer/vendor/fxp/composer-asset-plugin/Repository/VcsPackageFilter.php:164
Fxp\Composer\AssetPlugin\Repository\VcsPackageFilter->satisfy() at /home/iushev/.composer/vendor/fxp/composer-asset-plugin/Repository/VcsPackageFilter.php:151
Fxp\Composer\AssetPlugin\Repository\VcsPackageFilter->doSkip() at /home/iushev/.composer/vendor/fxp/composer-asset-plugin/Repository/VcsPackageFilter.php:131
Fxp\Composer\AssetPlugin\Repository\VcsPackageFilter->skip() at /home/iushev/.composer/vendor/fxp/composer-asset-plugin/Repository/AssetVcsRepository.php:83
Fxp\Composer\AssetPlugin\Repository\AssetVcsRepository->initTag() at /home/iushev/.composer/vendor/fxp/composer-asset-plugin/Repository/AssetVcsRepository.php:65
Fxp\Composer\AssetPlugin\Repository\AssetVcsRepository->initTags() at /home/iushev/.composer/vendor/fxp/composer-asset-plugin/Repository/AssetVcsRepository.php:44
Fxp\Composer\AssetPlugin\Repository\AssetVcsRepository->initialize() at phar:///usr/local/bin/composer/src/Composer/Repository/ArrayRepository.php:179
Composer\Repository\ArrayRepository->getPackages() at phar:///usr/local/bin/composer/src/Composer/DependencyResolver/Pool.php:104
Composer\DependencyResolver\Pool->addRepository() at /home/iushev/.composer/vendor/fxp/composer-asset-plugin/Repository/Util.php:60
Fxp\Composer\AssetPlugin\Repository\Util::addRepositoryInstance() at /home/iushev/.composer/vendor/fxp/composer-asset-plugin/Repository/Util.php:39
Fxp\Composer\AssetPlugin\Repository\Util::addRepository() at /home/iushev/.composer/vendor/fxp/composer-asset-plugin/Repository/AbstractAssetsRepository.php:139
Fxp\Composer\AssetPlugin\Repository\AbstractAssetsRepository->whatProvides() at phar:///usr/local/bin/composer/src/Composer/DependencyResolver/Pool.php:199
Composer\DependencyResolver\Pool->computeWhatProvides() at phar:///usr/local/bin/composer/src/Composer/DependencyResolver/Pool.php:188
Composer\DependencyResolver\Pool->whatProvides() at phar:///usr/local/bin/composer/src/Composer/DependencyResolver/RuleSetGenerator.php:161
Composer\DependencyResolver\RuleSetGenerator->whitelistFromPackage() at phar:///usr/local/bin/composer/src/Composer/DependencyResolver/RuleSetGenerator.php:322
Composer\DependencyResolver\RuleSetGenerator->getRulesFor() at phar:///usr/local/bin/composer/src/Composer/DependencyResolver/Solver.php:208
Composer\DependencyResolver\Solver->solve() at phar:///usr/local/bin/composer/src/Composer/Installer.php:508
Composer\Installer->doInstall() at phar:///usr/local/bin/composer/src/Composer/Installer.php:217
Composer\Installer->run() at phar:///usr/local/bin/composer/src/Composer/Command/UpdateCommand.php:158
Composer\Command\UpdateCommand->execute() at phar:///usr/local/bin/composer/vendor/symfony/console/Command/Command.php:259
Symfony\Component\Console\Command\Command->run() at phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:844
Symfony\Component\Console\Application->doRunCommand() at phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:192
Symfony\Component\Console\Application->doRun() at phar:///usr/local/bin/composer/src/Composer/Console/Application.php:166
Composer\Console\Application->doRun() at phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:123
Symfony\Component\Console\Application->run() at phar:///usr/local/bin/composer/src/Composer/Console/Application.php:99
Composer\Console\Application->run() at phar:///usr/local/bin/composer/bin/composer:43
require() at /usr/local/bin/composer:25
The text was updated successfully, but these errors were encountered: