Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi mcstahljr,

    Honestly I’m not sure how Revisonary works but it is very important for AAM to take control over the wpDie hook when access is denied for WordPress resource.

    You can try manually to deactivate the wpDie hook in AAM by removing line 50 in file advanced-access-maanger/Application/Backend/Filter.php.

    //wp die hook
    add_filter('wp_die_handler', array($this, 'backendDie'));

    Make sure you are using the latest AAM version.

    Best Regards,
    Vasyl

    Thread Starter mcstahljr

    (@mcstahljr)

    Thanks Vasyl.

    I rely more on AAM than I do Revisonary so what effects will making the change you suggested have on AAM functionality?

    Hi mcstahljr,

    Technically if you comment mentioned lines of code it will not affect AAM functionality unless you are planning to modify the default Access Denied message.

    Regards,
    Vasyl

    Thread Starter mcstahljr

    (@mcstahljr)

    This seemed to work, thank you!

    I just commented it out as follows:

    //wp die hook
    //add_filter('wp_die_handler', array($this, 'backendDie'));

    Thanks again!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Code Error with Revisonary Plugin’ is closed to new replies.