wordpress-heroku icon indicating copy to clipboard operation
wordpress-heroku copied to clipboard

Any plans to upgrade dependency versions?

Open jsuria opened this issue 5 years ago • 6 comments

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 avatar Nov 01 '20 17:11 jsuria

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

SofianeBoumedine avatar Nov 18 '20 22:11 SofianeBoumedine

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

haydenlinder avatar Nov 23 '20 16:11 haydenlinder

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

maruf-hossen avatar Nov 27 '20 11:11 maruf-hossen

image

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

Arax20 avatar Jan 10 '21 20:01 Arax20

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

xenvi avatar Aug 03 '21 20:08 xenvi

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.

pavleks avatar Sep 27 '21 11:09 pavleks