WordPress.org

Ready to get started?Download WordPress

Forums

WSOD for Editors (6 posts)

  1. André Boekhorst
    Member
    Posted 2 years ago #

    Hi there,
    I'm working on a large site with a large amount of pages, and some custom post types. Everything works fine as an Administrator, but as an Editor it's not possible to view pages (edit.php?post_type=page). I just got a white screen of death. Strangely enough, when I view a custom post tyope (edit.php?post_type=custom), it just works.

    - I cleared the whole database and it works.
    - I repaired the database in phpmyadmin (although I'm not sure if that was needed.
    - I tried deleting parts of the database, but I couldn't pinpoint a single entry that may have started the error. Even if there are just a few entries it will give the WSOD.

    Other WP Installs on the same server experience similar (but a bit different) errors when logging in with another User. So my guess is that it has something to do with the server configuration. I know the keep-alive was recently changed; but how would that explain the fact that it's only a problem with editors and only with 'pages'?

    Any help is much appreciated.

  2. esmi
    Forum Moderator
    Posted 2 years ago #

    Anything in the error logs?

  3. André Boekhorst
    Member
    Posted 2 years ago #

    I found a solution. When I tried to turn on error logs (http://codex.wordpress.org/Editing_wp-config.php#Configure_Error_Log) I saw the following code, which I added in wp-config:

    define('WP_MEMORY_LIMIT', '64M');

    Thanks esmi :-)

  4. André Boekhorst
    Member
    Posted 2 years ago #

    Still curious, why does this only happen with an "Editor"? And is there a way to set to increase the memory_limit only when you are logged in?

  5. esmi
    Forum Moderator
    Posted 2 years ago #

    Not that I'm aware of. I can only assume that something in your theme or a plugin is kicking in for Editors only. Perhaps a role/user management plugin that you've used to extend Editor privileges?

  6. André Boekhorst
    Member
    Posted 2 years ago #

    Even if I set different priviledges through a plugin the site 'crashes'. So I'm assuming wordpress needs more memory when you are logged with less priviliges... seems weird to me.

Topic Closed

This topic has been closed to new replies.

About this Topic