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

Stringloader not found #6

Open
qroft opened this issue Nov 7, 2022 · 3 comments
Open

Stringloader not found #6

qroft opened this issue Nov 7, 2022 · 3 comments

Comments

@qroft
Copy link

qroft commented Nov 7, 2022

Hi there,
thanks for the plugin. I just did the "rough" installation by creating the subfolders and then uploading everything from the Github repository into the twigext folder.

The backend still works and after forcing an update of the system i can see the plugin and it is activated.

BUT: the frontend does not work anymore and shows me this:
Class "Twig_Extension_StringLoader" not found

@helmutkaufmann
Copy link
Owner

helmutkaufmann commented Nov 8, 2022

Assuming that you are on the latest Winter version, you must use branch 1.2 or 2.0 of this plugin

@qroft
Copy link
Author

qroft commented Nov 9, 2022

I removed the whole directory i installed first and then went to the 2.0 branch.
I copied that onto my server and in the backend i can see that it has been installed.

The frontend though, tells me that a intl from twig is missing.

Is it so, that i have to install the main branch and then overwrite it with the 2.0 branch?
I can see that the main branch has a vendor folder and i feel like i have to have that one too, am i right?
Thanks a lot for your time and support.

@garrettw
Copy link

Assuming that you are on the latest Winter version, you must use branch 1.2 or 2.0 of this plugin

This should be documented, at the very least -- or better yet, handled correctly in composer.json. Following the typical installation procedure (composer require mercator/wn-twigext-plugin) on the latest CMS release should not result in an error.

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

3 participants