aamplugin / advanced-access-manager

WordPress Advanced Access Manager Plugin
Other
30 stars 14 forks source link

Fatal error: Allowed memory size of XXX bytes exhausted (tried to allocate YYY bytes) #407

Closed aamplugin closed 1 month ago

aamplugin commented 1 month ago

This error arises when the following policy is applied to any access level:

{
    "Version": "1.0.0",
    "Dependency": {
        "wordpress": ">=6.6.1",
        "advanced-access-manager": ">=6.9.35"
    },
    "Statement": {
        "Effect": "allow",
        "Resource": "Role:test",
        "Condition": {
            "NotEquals": {
                "${USER.user_email}": "solaceten@gmail.com"
            }
        }
    }
}