-
Notifications
You must be signed in to change notification settings - Fork 14
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
3.0/develop missing dependencies #195
Comments
Install https://github.com/helsingborg-stad/component-library. This is a required component to run 3.0 branch. |
I did install this after some googling, although PHP/WP doesn't seem to recognize the ComponentLibrary\Init class. |
There might be an loading issue. It might sound wierd, but try to install Modularity 3.0 branch, loading should be fixed there. |
Good idea, but unfortunately no luck. When switching to 3.0/develop-modularity-compability, rimraffing /vendor and doing a fresh |
There might be multiple culprits here. Try to:
|
Ah, that did the trick. When installing the component-library from the theme root a wild wp-content folder appeared in the theme root. Moving this to mu-plugins and setting up a loader fixed it. This should be documented as a preface to installing Municipio though - or have I missed some crucial documentation? |
Branch: 3.0/develop
Environment: macOs, Wordpress 5.7.2, Nginx
Issue:
Fatal error: Uncaught Error: Class 'ComponentLibrary\Init' not found in /themes/municipio/library/Template.php on line 16
Steps to reproduce:
Clone fresh repo into a local WP themes directory. Install npm/composer dependencies. Activate theme. Boom goes WP.
The text was updated successfully, but these errors were encountered: