kinoli / groupie

Assign users to specific user groups upon registration. Especially useful for front-end signup forms.
Other
3 stars 0 forks source link

Error on 1.0.5 #11

Closed bfjare closed 3 years ago

bfjare commented 3 years ago

Running "craftcms/cms": "3.6.12", "kinoli/groupie": "1.0.5",

I removed all other plugins to make sure that's not an issue.

Screen Shot 2021-04-20 at 11 51 25 AM

When running 1.0.5 I get the following error.

Screen Shot 2021-04-20 at 11 52 11 AM

If I revert the plugin back to 1.0.4, I can access settings again.

kinoli commented 3 years ago

Verson 1.0.5 was a requested fix by the CraftCMS team to make Composer 2 work with the plugin. You will need to upgrade composer to v2.0+ or else just use 1.0.4. I suggest upgrading to the latest composer.

bfjare commented 3 years ago

Issue still happens on server running Composer version 2.0.12

kinoli commented 3 years ago

Is it working locally for you? What version of Composer do you have locally?

kinoli commented 3 years ago

Can you try this. https://www.codegrepper.com/code-examples/shell/restart+composer

bfjare commented 3 years ago

Local - works Screen Shot 2021-04-28 at 1 30 45 PM

Production - doesnt work Screen Shot 2021-04-28 at 1 29 53 PM

kinoli commented 3 years ago

This was caused by a namespacing issue that didn't appear on earlier composer versions and is fixed in the latest release. Upgrade the component to get the fix.

bfjare commented 3 years ago

Thank you @kinoli !