Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter illamental

    (@illamental)

    ignat, i figured it out

    problem with mine was some information in the database that capabilities.php was trying to retrieve. i wont go into the details of how i figured it out, but here was my solution:

    in my wp_options table, i found the option with the name “wp_user_roles”. in that same row, it’s “option_value” field has a lot of code/characters starting with “a:5:{s:13:”administrator”……

    this text is supposed to be one long string of text, but when i moved the database over, it had broken the long string into several lines with breaks inbetween. this made capabilities.php unable to read the information properly. once i removed all the breaks, the site was back to normal.

    i hope this helps ??

    Thread Starter illamental

    (@illamental)

    still having this problem….wordpress new release didnt fix

    here’s line 19 – 22 of capabilities.php:

    foreach ($this->roles as $role => $data) {
    $this->role_objects[$role] = new WP_Role($role, $this->roles[$role][‘capabilities’]);
    $this->role_names[$role] = $this->roles[$role][‘name’];
    }

    Thread Starter illamental

    (@illamental)

    Has anyone seen this before? Or have any ideas what I could have done wrong?

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