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

[Views][twig] Fatal error : cache can only be a string #26

Closed
jcheron opened this issue Apr 20, 2019 · 0 comments
Closed

[Views][twig] Fatal error : cache can only be a string #26

jcheron opened this issue Apr 20, 2019 · 0 comments
Assignees
Labels

Comments

@jcheron
Copy link
Contributor

jcheron commented Apr 20, 2019

Steps

Enable twig view caching in config.php

"templateEngineOptions"=>array(
			"cache"=>true
			)

Expected Result

Caching Twig views works!

Actual Result

Fatal error: Uncaught LogicException: Cache can only be a string, false, or a \Twig\Cache\CacheInterface implementation. in \ubiquity\vendor\twig\twig\src\Environment.php:274

Versions

  • Ubiquity framework 2.1.1
  • Ubiquity devtools 1.2.3
  • php 7.2.3
@jcheron jcheron self-assigned this Apr 20, 2019
@jcheron jcheron added the bug label Apr 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant