Title: Code Error with Revisonary Plugin
Last modified: August 31, 2016

---

# Code Error with Revisonary Plugin

 *  Resolved [mcstahljr](https://wordpress.org/support/users/mcstahljr/)
 * (@mcstahljr)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/code-error-with-revisonary-plugin/)
 * Hello.
 * I appear to be having the same conflict with AAM as someone else who posted to
   the Support Forum for the Revisionary Plugin.
 * They have the possible coding error here:
    [https://wordpress.org/support/topic/revisionary-plugin-is-not-working-with-advance-access-manager](https://wordpress.org/support/topic/revisionary-plugin-is-not-working-with-advance-access-manager)
 * Assuming I am having the same issue, does AAM have a fix for this? Or a suggest
   for another plugin like Revisonary?
 * Thanks!
 * [https://wordpress.org/plugins/advanced-access-manager/](https://wordpress.org/plugins/advanced-access-manager/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [vasyl_m](https://wordpress.org/support/users/vasyl_m/)
 * (@vasyl_m)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/code-error-with-revisonary-plugin/#post-7029972)
 * 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](https://wordpress.org/support/users/mcstahljr/)
 * (@mcstahljr)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/code-error-with-revisonary-plugin/#post-7029987)
 * Thanks Vasyl.
 * I rely more on AAM than I do Revisonary so what effects will making the change
   you suggested have on AAM functionality?
 *  [vasyl_m](https://wordpress.org/support/users/vasyl_m/)
 * (@vasyl_m)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/code-error-with-revisonary-plugin/#post-7030032)
 * 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](https://wordpress.org/support/users/mcstahljr/)
 * (@mcstahljr)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/code-error-with-revisonary-plugin/#post-7030040)
 * 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.

 * ![](https://ps.w.org/advanced-access-manager/assets/icon-256x256.png?rev=3447421)
 * [Advanced Access Manager – Access Governance for WordPress](https://wordpress.org/plugins/advanced-access-manager/)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-access-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-access-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-access-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-access-manager/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [mcstahljr](https://wordpress.org/support/users/mcstahljr/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/code-error-with-revisonary-plugin/#post-7030040)
 * Status: resolved