kinoli / groupie

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

Asset bundle error #10

Closed chrisdivyak closed 3 years ago

chrisdivyak commented 3 years ago

Upon installation and going to the settings page I get the following error in Dev mode.

Failed to instantiate component or class "kinoli\groupie\assetbundles\groupie\GroupieAsset". ↵ Caused by: ReflectionException Class kinoli\groupie\assetbundles\groupie\GroupieAsset does not exist in /home/customer/www/here-after.com/vendor/yiisoft/yii2/di/Container.php at line 453

kinoli commented 3 years ago

Can you tell me what version of craft you are running?

On Sun, Dec 6, 2020 at 7:27 AM Chris Divyak notifications@github.com wrote:

Upon installation and going to the settings page I get the following error in Dev mode.

Failed to instantiate component or class "kinoli\groupie\assetbundles\groupie\GroupieAsset". ↵ Caused by: ReflectionException Class kinoli\groupie\assetbundles\groupie\GroupieAsset does not exist in /home/customer/www/here-after.com/vendor/yiisoft/yii2/di/Container.php at line 453

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kinoli/groupie/issues/10, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAPALR2PFRQS3VMIW3ATDLSTOIGXANCNFSM4UPLI4RQ .

chrisdivyak commented 3 years ago

Yes, version 3.5.16

kinoli commented 3 years ago

Hi Chris, I'm looking into this. Can you confirm if you installed it via the craft plugin store?

kinoli commented 3 years ago

have you tried reinstalling the plugin, It seems the error is saying its missing a file.

chrisdivyak commented 3 years ago

Yes, I installed through the Craft plugin store. Seems to be missing the asset files. I should note that this happens when I got Plugin->settings.

Screen Shot 2020-12-08 at 6 14 09 PM
kinoli commented 3 years ago

I just installed a fresh copy of Craft and installed the Groupie plugin and everything works as expected. I imagine this has something to do with your setup. I don't know much about this error so its tough for me to diagnose it. Can you uninstall and reinstall the plugin?

Screen Shot 2020-12-08 at 8 36 59 PM
chrisdivyak commented 3 years ago

Looks like it was a conflict with another plugin. Thank you for confirming it works.

On Tue, Dec 8, 2020 at 7:39 PM Jesse Knowles notifications@github.com wrote:

I just installed a fresh copy of Craft and installed the Groupie plugin and everything works as expected. I imagine this has something to do with your setup. I don't know much about this error so its tough for me to diagnose it. Can you uninstall and reinstall the plugin?

[image: Screen Shot 2020-12-08 at 8 36 59 PM] https://user-images.githubusercontent.com/61486/101572908-67d73700-3995-11eb-90e2-3fc2fe8b373e.png

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/kinoli/groupie/issues/10#issuecomment-741505918, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABA4TAT7FRC4TEMESVE6KYLST3WPTANCNFSM4UPLI4RQ .

kinoli commented 3 years ago

Glad to hear it. Thanks for letting me know.

bfjare commented 3 years ago

Looks like it was a conflict with another plugin. Thank you for confirming it works. On Tue, Dec 8, 2020 at 7:39 PM Jesse Knowles @.***> wrote: I just installed a fresh copy of Craft and installed the Groupie plugin and everything works as expected. I imagine this has something to do with your setup. I don't know much about this error so its tough for me to diagnose it. Can you uninstall and reinstall the plugin? [image: Screen Shot 2020-12-08 at 8 36 59 PM] https://user-images.githubusercontent.com/61486/101572908-67d73700-3995-11eb-90e2-3fc2fe8b373e.png — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#10 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABA4TAT7FRC4TEMESVE6KYLST3WPTANCNFSM4UPLI4RQ .

@chrisdivyak You happen to remember how you debugged this?

bfjare commented 3 years ago

@kinoli So this works on my local env but not my production, which this in the past has been composer 2 errors. Anything ideas? Vendor folders are identical.

kinoli commented 3 years ago

It should work the same in any environment. Your previous issue had to do with a conflict with a plugin, perhaps something like that has creeped up again.

On Feb 24, 2021, at 7:52 AM, Ben Fjare notifications@github.com wrote:

@kinoli https://github.com/kinoli So this works on my local env but not my production, which this in the past has been composer 2 errors. Anything ideas? Vendor folders are identical.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/kinoli/groupie/issues/10#issuecomment-785129990, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAPALVU5GT3YQATW23NGBLTAUHBXANCNFSM4UPLI4RQ.