Title: &quot;Access Denied&quot; when
Last modified: August 31, 2016

---

# "Access Denied" when

 *  [ivegotodds](https://wordpress.org/support/users/ivegotodds/)
 * (@ivegotodds)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/access-denied-when/)
 * I have suddenly started getting “Access Denied” while admin’ing my site. Note:
   I am currently in dev, and *have* been making changes.
 * The “Access Denied” or whites screens happen with different types of functionality,
   utilizing the database.
 * I can’t: Configure a User List, Create a New List, Run DB queries, so on.
    I 
   CAN:: Use and search all UserTables and custom scripts pulling from the User 
   and Meta tables. – I can see that the cache is Updating. It’s taking 2-3 seconds,
   and using every bit of RAM allocated.
 * I did make some changes to core pages, (had too0, to remove blanks and record
   counts from filters options.
 * I am at a loss. All of my other plugins are fine. But the site does seem more
   sluggish overall. Does anybody have any ideas before I contact our host?
 * What I’ve tried: Checked User and File Permissions, Looked at SQL Processes and
   Locks, Looked for any updates or other activity. – Nothing 🙁
 * [https://wordpress.org/plugins/amr-users/](https://wordpress.org/plugins/amr-users/)

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

 *  Plugin Author [anmari](https://wordpress.org/support/users/anmari/)
 * (@anmari)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/access-denied-when/#post-7156435)
 * Could be any number of things:
    maybe you broke something with code fixes, maybe
   it’s running out of memory (plugin is a bit heavy on the db the way it works 
   at moment with csv cacheing ) – if you have lots of users and lots of meta data
   that could be cause some probs.
 * Try googling and see if any of the posts might relate to what you did
    [https://www.google.com.au/search?q=wordpress+access+denied](https://www.google.com.au/search?q=wordpress+access+denied)
   [https://www.google.com.au/search?q=wordpress+white+screen](https://www.google.com.au/search?q=wordpress+white+screen)
 * Note best way to remove ‘blanks’ in the filter is not to have any blanks in the
   data (wink) – it doesn’t show if there aren’t any. ie make sure each user has
   a default value for the field you are filtering. You can test that quickly by
   ticking ‘exclude blanks’, rebuilding cache.
 * It’s never ever a good idea to edit core code – you may need the updates! Better
   to look for other ways. eg: amr_show_filters is ‘pluggable’ – you can write your
   own function in separate site specfic plugin and thus still be able to update
   the base plugin.
 * Suggest you backup the changed plugin. Revert to the unedited. Check the memory,
   check for any database issues (any ‘repairs’ flagged – maybe the db got corrupted)
 * Once you have it stabilised again – either figure out a better way to achieve
   what you want, OR do a code compare (eg: in notepad++ on your local test system–
   you do have one right?) and see what changes you made – maybe you’ll see where
   it went wrong, maybe you can gradually add the changes back.
 *  Thread Starter [ivegotodds](https://wordpress.org/support/users/ivegotodds/)
 * (@ivegotodds)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/access-denied-when/#post-7156530)
 * Ok. Thank you for this I have pretty much done all of this at this point, aside
   from scrubbing the data, which has come from other sources, and likely will again.
 * Can I assume that it’s easy to disable the creation of CSV caching if you know
   that you’ll never need it? – It would be based off of that checkbox in the configuration,
   right?
 * Thanks again!
 *  Plugin Author [anmari](https://wordpress.org/support/users/anmari/)
 * (@anmari)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/access-denied-when/#post-7156633)
 * 1) csv caching is not what’s causing the problem – works elsewhere. White screens
   etc are usually code change bugs.
 * 2) as far as disabling: Yes and No
    Unticking the csv link checkone will disable
   the generation of a csv file for download. However they way the plugin works 
   at moment, becuase it cam about to deal with some odd data in a generic fashion,
   it’s whole caching thing gathers up the data and stores it in a csv string in
   the DB.
 * Please let me know how you go.

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

The topic ‘"Access Denied" when’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/amr-users_f6f6f4.svg)
 * [amr users](https://wordpress.org/plugins/amr-users/)
 * [Support Threads](https://wordpress.org/support/plugin/amr-users/)
 * [Active Topics](https://wordpress.org/support/plugin/amr-users/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amr-users/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amr-users/reviews/)

## Tags

 * [white screen](https://wordpress.org/support/topic-tag/white-screen/)

 * 3 replies
 * 2 participants
 * Last reply from: [anmari](https://wordpress.org/support/users/anmari/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/access-denied-when/#post-7156633)
 * Status: not resolved