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

Getting Context Error Exception with Symfony 2.3.6 #152

Open
AStew8 opened this issue Oct 30, 2013 · 9 comments
Open

Getting Context Error Exception with Symfony 2.3.6 #152

AStew8 opened this issue Oct 30, 2013 · 9 comments

Comments

@AStew8
Copy link

AStew8 commented Oct 30, 2013

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.*",
    },
......
@mahono
Copy link

mahono commented Jan 30, 2014

Getting the same exception when configuring security -> access_control -> requires_channel: https

@nysander
Copy link

i got the same problem SF 2.4.2, this bundle 1.5.1

@sabliao
Copy link

sabliao commented Jul 9, 2014

Any solution?

@atamashi
Copy link

atamashi commented Sep 7, 2015

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!

@atamashi
Copy link

atamashi commented Sep 7, 2015

I'm vey interesting for Symfony2 AdminGenerator documentation. Congratulations! This is excellent Bundle!!

@qdequippe
Copy link

qdequippe commented Apr 26, 2016

+1 same problem when configuring security.yml access_control -> allow_if

@Assem
Copy link

Assem commented Oct 29, 2016

Same problem here when using allow_if instead of roles ( symfony 2.7)

@wuestkamp
Copy link

same issue with 2.8

@wuestkamp
Copy link

Solution seems to use "access" instead of "allow_if":
http://jmsyst.com/bundles/JMSSecurityExtraBundle/master/expressions#usage-in-access-control

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

8 participants