Support » Fixing WordPress » Redirected to Login/Profile Page When Trying to Reach WP Admin

  • Properly logged in and not a cookie issue. Running multisite.

    Everything was fine until the latest bbPress update. I checked the box to allow all multisite users to post to the forum. The problem didn’t occur immediately after that or even the next day.

    The apparent trigger was today when logged in and able to use the WP admin as normal, I navigated to Settings > Forums and it redirected me to the login page. I haven’t been able to get back in since.

    Checking my error_log the same error is repeating over and over:

    PHP Warning: Illegal offset type in isset or empty in /wp-includes/post.php on line 840

    Line 840 and 10 lines above and below at least in TextWrangler is just a programmer comment so I don’t know.

    Any ideas?

    Thanks, Bryan

Viewing 4 replies - 1 through 4 (of 4 total)
  • Uncovered the issue.

    It’s a conflict between the latest bbPress and Theme My Login plugins, specifically the following options:

    bbPress: The checkbox to allow all multisite users to use the forum.


    Theme My Login: The Themed Profile option, Restrict Admin Access – Restricting Forum Moderator or Forum Participant creates the lockout issue.

    Obviously the Admin can’t be blocked from admin access, even if they wanted to, so this isn’t a human/logic error.

    This conflict as best as I can pinpoint was introduced with the latest bbPress update. Restricting Forum Moderator or Forum Participant worked before that without error.

    Thanks, Bryan

    I’ve discovered more details on why this is happening. After looking under Users I found that my admin account role switched to Forum Participant.

    I switched it back to Administrator, but theorized maybe when creating a new forum topic or replying in the forum in any capacity perhaps that’s what changed the role and sure enough that’s what’s happening.

    Thanks, Bryan

    Jeff Farthing


    If so, that sounds like a bbPress bug. An Administrator should not automatically have their role changed to Forum Participant just by making a post.

    Yeah, I posted this to the bbPress forum too, but probably in vein as that forum is completely desolate and legitimate bugs I inform them of seem to go ignored.

    Thought I’d inform all parties that might be interested if it helps.

    Anyways, the solution of course is to simply not check the Forum Participant box for blocking admin access.

    Users don’t ever seem to have that role as far as I can tell anyways, they just stay Subscribers so I wonder if that option is even needed? I’m sure you have it set to dynamically list all roles automatically though.

    Keep up the good work, Theme My Login is starting to become a full white label suite really at this point, with the new options I was able to eliminate three other plugins that I was using to control the “user account” experience.

    Thanks, Bryan

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Redirected to Login/Profile Page When Trying to Reach WP Admin’ is closed to new replies.