One question.
Stay now in Flarum 1.0.4 and this is my first core update to 1.2.0 and have problems to update this extension.
The extensions need to update after or before the update core?
Sorry not understand very well the Official Updating Notes.
I understand that go with this line to update Flarum core system:
1º Make sure all your extensions have versions compatible with the Flarum.
2º update all extensions or remove that are not compatible.
3º disabling third-party extensions in the admin dashboard before updating the Flarum Core.
4º Then run the command to update the core.
This is ok?
In this extension I have now 1.0.0
In my composer.json archive I view this: "fof/nightmode": "*",
To update I go with this problem and not update:
`$ *composer require fof/nightmode:"*"*
./composer.json has been updated
Running composer update fof/nightmode
Loading composer repositories with package information
Updating dependencies
Nothing to modify in lock file
Installing dependencies from lock file (including require-dev)
Nothing to install, update or remove
Generating autoload files
82 packages you are using are looking for funding.
Use the `composer fund` command to find out more!`
Then I test update without "*"
composer require fof/nightmode
Using version ^1.2 for fof/nightmode
./composer.json has been updated
Running composer update fof/nightmode
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires fof/nightmode ^1.2 -> satisfiable by fof/nightmode[1.2.0].
- fof/nightmode 1.2.0 requires flarum/core ^1.2.0 -> found flarum/core[v1.2.0] but the package is fixed to v1.0.4 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
Not understand very well where is the problem.
I run the command view in the ultimate version to update the extension: composer require fof/nightmode:"*"
But in the OP message view other command to update the extenion: composer update fof/nightmode