craftpulse / craft-password-policy

Enforce a password policy on your Craft CMS users.
MIT License
27 stars 9 forks source link

Dose not to let us upgrade the plugin, Craft 3.4 PHP 7.2. #13

Closed green17 closed 3 years ago

green17 commented 4 years ago

Dose not to let us upgrade the plugin, Craft 3.4 PHP 7.2.

Does it need a higher PHP version?

michtio commented 4 years ago

@green17 Could you provide more information / log output. There is no PHP restriction set and should work from PHP 7.0 and higher

green17 commented 4 years ago

Doing it on a few sites, great plugin.

When running an update all other plugins/craft updated we get this:

Composer output: Package "craftcms/vue-asset" listed for update is not installed. Ignoring. Package "danielstjules/stringy" listed for update is not installed. Ignoring. Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set of packages.

Problem 1

fthues commented 4 years ago

Just tried installing the plugin for the first time and ran into the same issue:

Composer output: Package "craftcms/vue-asset" listed for update is not installed. Ignoring.
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - dragonbe/hibp v0.1.1 requires php >= 7.2 -> your PHP version (7.4.10) overridden by "config.platform.php" version (7.0) does not satisfy that requirement.
    - dragonbe/hibp v0.1.0 requires php >= 7.2 -> your PHP version (7.4.10) overridden by "config.platform.php" version (7.0) does not satisfy that requirement.
    - percipioglobal/craft-password-policy 1.0.6 requires dragonbe/hibp ^0.1.0 -> satisfiable by dragonbe/hibp[v0.1.0, v0.1.1].
    - Installation request for percipioglobal/craft-password-policy 1.0.6 -> satisfiable by percipioglobal/craft-password-policy[1.0.6].
michtio commented 3 years ago

@fThues do you remember on which environment that happened? Going to try and replicate some different environments this week, but my biggest guess is that culprit is the "hibp" library, it hasn't been updated for a long time.