Hi everyone,
I just got this error when trying to view a node which made by BEE it just tells c_and() is not defined in bat module!

Error: Call to undefined function c_and() in bat_entity_access_query_alter() (line 372 of /modules/contrib/bat/bat.module)

How can I fix this?

Thanks a lot :)

Comments

sonixax created an issue. See original summary.

daiwik.addweb’s picture

Status: Active » Needs review

Hi @sonixax, This issue is resolved in the latest release. You Just have a need to declare $c_and = new Condition('AND'); before it. hope this will help you.

Thanks!..

  • nicola85 committed dbfec5f on 8.x-1.x
    Issue #3021897 by sonixax: Call to undefined function c_and() in...
nicola85’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.