Support » Fixing WordPress » Logging in with non-Admin User causes Fatal Error

  • I recently needed to add additional users to a site I manage, as I needed to grant access to an additional content creator. I wanted to grant “Author” or “Editor” user role to this individual, but when she attempted to login, the following error was displayed:

    “Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 197208 bytes) in /home/dancinqu33n/public_html/wp-includes/functions.php on line 434”

    This only happens with an attempt to login with other than Admin role users. I created a test user and applied every possible role, all with the same result. When I switch the user role for my test user and for the other user I created to Admin, I am able to login without any problems.

    I am aware that the allowed memory error is normally fixed by allocating more memory in php.ini or wp-config.php. I don’t have access to php.ini, so I attempted to add the code to wp-config.php. I think I got that right, but the error persists.

    Any help would be appreciated. For the time being, I can allow my contributor admin access, but i’d rather not do that long-term.

Viewing 1 replies (of 1 total)
  • Moderator t-p


    Have you tried:
    – deactivating ALL (yes all) plugins temporarily to see if this resolves the problem (plugin functions can interfere). If this works, re-activate them individually (one-by-one) to find the problematic plugin(s).
    resetting the plugins folder by FTP. Also remember to deactivate any plugins in the mu-plugins folder (if you have created such folder). The easiest way is to rename that folder to mu-plugins-old.
    – switching to the unedited default Theme (Twenty Sixteen) for a moment using the WP dashboard to rule out any theme-specific issue (theme functions can interfere like plugins).

Viewing 1 replies (of 1 total)
  • The topic ‘Logging in with non-Admin User causes Fatal Error’ is closed to new replies.