Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to instantiate component or class UserManualAsset #16

Closed
kblizeck opened this issue Oct 28, 2019 · 2 comments
Closed

Failed to instantiate component or class UserManualAsset #16

kblizeck opened this issue Oct 28, 2019 · 2 comments

Comments

@kblizeck
Copy link

Craft 3 install, using the project.yaml setup. On local my UserManual works great, but on both development and production servers, I get the following error when trying to visit the UserManual to view the pages - editing them works as expected.

Failed to instantiate component or class "hillholliday\usermanual\assetbundles\usermanual\UserManualAsset".

Screen Shot 2019-10-28 at 9 31 07 AM

Clearing cache doesn't trigger anything. Any ideas on a fix?

@RobErskine
Copy link
Owner

Hey @kblizeck. I don't know that we've tested this using the new project.yaml set up. I'll have to try to give that a shot. It's odd that it's working locally, but not on any of your remote envs; but I guess that's the point of the project.yaml set up.

While I look into this, can you try the following?

  • deleting your storage/ directory, and recreating it?
  • try doing a composer update on your staging environment to see if that initializes the component?

@kblizeck
Copy link
Author

Hi @RobErskine Running the composer update worked! It needed reinitialization. Thank you for the assist!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants