Comments (4)
Getting the same issue with app.user
which appears to be null but if I pass in $this->getUser()
from the controller and use that instead of app.user
, things work as expected. Something's hosed with Twig in this setup still.
from appengine-symfony-starter-project.
And another... Trying to add EasyAdminBundle. Had to patch around Doctrine's FileCache failing if the cache folder isn't writeable even though it's not trying to write to it javiereguiluz/EasyAdminBundle#1954 then ran into what I'm guessing is this Twig issue again.
request.CRITICAL: Uncaught PHP Exception Twig_Error_Runtime: "An exception has been thrown during the rendering of a template ("Could not parse property path "[entities][]". Unexpected token "[" at position 10")." at /base/data/home/apps/p~xxx/staging.xxx/vendor/javiereguiluz/easyadmin-bundle/src/Resources/views/default/list.html.twig line 1 {"exception":"[object] (Twig_Error_Runtime(code: 0): An exception has been thrown during the rendering of a template (\"Could not parse property path \"[entities][]\". Unexpected token \"[\" at position 10\"). at /base/data/home/apps/p~xxx/staging.xxx/vendor/javiereguiluz/easyadmin-bundle/src/Resources/views/default/list.html.twig:1, Symfony\\Component\\PropertyAccess\\Exception\\InvalidPropertyPathException(code: 0): Could not parse property path \"[entities][]\". Unexpected token \"[\" at position 10 at /base/data/home/apps/p~xxx/staging.xxx/vendor/symfony/symfony/src/Symfony/Component/PropertyAccess/PropertyPath.php:116)"} []
from appengine-symfony-starter-project.
I've reached out to the Symfony folk here symfony/symfony#25368
from appengine-symfony-starter-project.
@pdugas , same here. I've changed :
twig:
strict_variables: true
To:
twig:
strict_variables: false
and it fixes the issue.
Hope the solution will be found soon...
from appengine-symfony-starter-project.
Related Issues (14)
- include the autoloader to where HOT 1
- Slow performance HOT 10
- 404
- Cron jobs do not work with Symfony on Gae
- Compile Error: require_once(): Failed opening required HOT 1
- parameters.yml not created on install because of missing package
- Uncaught Exception: Memcached >= 2.2.0 is required HOT 1
- Symfony 4 PHP73 fails with error 'Attempted to load class โKernelโ from namespace โAppโ HOT 1
- PHP7.0 and Symfony3 plan? HOT 5
- Why? HOT 10
- Unable to create the cache directory (Local) HOT 4
- Make this way more awesome with tests
- remove Log Dir on production HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from appengine-symfony-starter-project.