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

No entry or class found for 'view.clearcompiledtemplates.enable' #18485

Closed
liping521 opened this issue Dec 10, 2021 · 3 comments
Closed

No entry or class found for 'view.clearcompiledtemplates.enable' #18485

liping521 opened this issue Dec 10, 2021 · 3 comments
Labels
worksforme The issue cannot be reproduced and things work as intended.

Comments

@liping521
Copy link

liping521 commented Dec 10, 2021

When I upgrade to 4.6.2 from 4.5.0
image

@liping521 liping521 added the Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. label Dec 10, 2021
@liping521 liping521 changed the title No entry or class found for 'path.tmp.templates' No entry or class found for 'view.clearcompiledtemplates.enable' Dec 10, 2021
@liping521
Copy link
Author

After add config to /config/global.php is resolved
'path.tmp.templates' => DI\string('{path.tmp}/templates_c'),
'view.clearcompiledtemplates.enable' => true,
image

@sgiehl
Copy link
Member

sgiehl commented Dec 10, 2021

This should have happened automatically on update. Was the file config/global.php maybe write protected and thus couldn't be updated by the updater?

@sgiehl sgiehl added worksforme The issue cannot be reproduced and things work as intended. and removed Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. labels Dec 10, 2021
@mardy
Copy link

mardy commented Feb 3, 2022

Happened today to me as well. Permissions on the config/global.php are the same as all other files installed with Matomo, and I never touched them.

I added the lines showed by @liping521 above, and they fixed the issue for me too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
worksforme The issue cannot be reproduced and things work as intended.
Projects
None yet
Development

No branches or pull requests

3 participants