JMSSecurityExtraBundle
JMSSecurityExtraBundle copied to clipboard
Getting Context Error Exception with Symfony 2.3.6
When do a composer update, I am getting the following error message:
[Symfony\Component\Debug\Exception\ContextErrorException]
Notice: Undefined index: access in D:\dev\my_SF2project\vendor\jms\security-extra-bundle\JMS\SecurityExtraBundle\DependencyInjection\SecurityExtension.php line 109
I am running on a Windows 7 machine running PHP 5.4.17. I have cleared my cache before composer update/install. Any suggestions or is this a bug? Here is a partial of my composer.json file.
"require": {
....
"jms/serializer-bundle": "0.12.*",
"jms/security-extra-bundle": "1.5.*",
"jms/di-extra-bundle": "1.4.*",
},
......
Getting the same exception when configuring security -> access_control -> requires_channel: https
i got the same problem SF 2.4.2, this bundle 1.5.1
Any solution?
Me too. Windows 7 Php 5.5.28 "Symfony\Component\Debug\Exception\ContextErrorException Notice: Undefined index: access:" I'm trying to implement the Symfony2 AdminGenerator, Help Please mister Schmitt!
I'm vey interesting for Symfony2 AdminGenerator documentation. Congratulations! This is excellent Bundle!!
+1 same problem when configuring security.yml access_control -> allow_if
Same problem here when using allow_if instead of roles ( symfony 2.7)
same issue with 2.8
Solution seems to use "access" instead of "allow_if": http://jmsyst.com/bundles/JMSSecurityExtraBundle/master/expressions#usage-in-access-control