Skip to content
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

Any plans to upgrade dependency versions? #45

Open
jsuria opened this issue Nov 1, 2020 · 6 comments
Open

Any plans to upgrade dependency versions? #45

jsuria opened this issue Nov 1, 2020 · 6 comments

Comments

@jsuria
Copy link

jsuria commented Nov 1, 2020

Description of your issue

Need to update packages in composer.json to latest versions, especially Wordpress and subsequently the plugins themselves. Packages are currently locked to specific versions. Ran composer update using latest version of composer.phar produces dependency warnings.

Steps to Reproduce

Just try to do a composer update using v2 of composer. Warnings should appear.

Other Information

Git Commit/Version: latest

Any suggestions? Thanks!

image

@jsuria jsuria changed the title Any plans to upgrade depedency versions? Any plans to upgrade dependency versions? Nov 1, 2020
@SofianeBoumedine
Copy link

I have the same issues. I try to update composer.json but without success

@haydenlinder
Copy link

haydenlinder commented Nov 23, 2020

Same issue here. Dependencies are expecting Composer 1.0.0 but Composer is past 2.0.0 now. Tried dropping down to Composer 1.0.0 and tried again but then I get this error.

Screen Shot 2020-11-23 at 9 12 45 AM

@maruf-hossen
Copy link

Same issue here. Dependencies are expecting Composer 1.0.0 but Composer is past 2.0.0 now. Tried dropping down to Composer 1.0.0 and tried again but then I get this error.

Screen Shot 2020-11-23 at 9 12 45 AM

try composer version 1.5

@Arax20
Copy link

Arax20 commented Jan 10, 2021

image

Composer 1.6.3 is the oldest I can rollback to and it doesn't seem to work

@xenvi
Copy link

xenvi commented Aug 3, 2021

I've had the same issue when trying to install a plugin from WP. Doing the following worked for me.

composer self-update 1.10.22
rm -rf vendor
composer require wpackagist-plugin/<plugin-name>

Or replace composer require <plugin> with composer install. Haven't tried it with composer update but this version seems to work more than the other ones have..

ref: https://stackoverflow.com/questions/61236961/composer-dump-autoload-or-update-results-in-fatal-error-on-laravel-5-5

@pavleks
Copy link

pavleks commented Sep 27, 2021

If you want to update the WordPress version first roll-back your composer (if you have Composer 2) following the instructions above and composer require johnpbloch/wordpress:5.8.1 johnpbloch/wordpress-core:5.8.1 to update your WordPress.

You can change to any specific version you want by editing 5.8.1 numbers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants