Support » Plugin: Edit Flow » [Plugin: Edit Flow] Fatal Error on Edit-Flow, messing with whole site.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Daniel Bachhuber

    (@danielbachhuber)

    Hand Built

    The immediate problem is that there’s no $wp_roles object here. This isn’t necessarily the root cause though.

    Do you have any role modification going on? Does this happen to you on a fresh WP install?

    Yup we do have a role manager. Not sure if thats what causing this.

    We upgraded to PHP 5.3.6 2 days ago with nginx configuration. We had couple of issues, but this error from edit-flow is blocking ajax functionality on the site.

    And no this is not fresh wp install. This is an established site.

    Plugin Author Daniel Bachhuber

    (@danielbachhuber)

    Hand Built

    If you have access to the code, try changing line 531 from:

    if ( $wp_roles->is_role( $role ) ) {

    to:

    if ( is_object( $wp_roles ) && $wp_roles->is_role( $role ) ) {

    This should fix your immediate problem, but it sounds like your WP install might have some issues and there could be problems elsewhere.

    Thanks buddy, I will try that.

    is it possible the Role Manager conflicting with it? Its quite old plugin, not sure for 3, let alone 3.3.

    Plugin Author Daniel Bachhuber

    (@danielbachhuber)

    Hand Built

    Yes, my best guess is that the Role Manager plugin is conflicting with it. The source of the problem is that the $wp_roles global variable doesn’t exist, and it should always exist.

    your first fix, fix the issue, i disabled the role manager as well. no fatal errors come up anymore but ill keep checking for them

    Thank you so much

    Plugin Author Daniel Bachhuber

    (@danielbachhuber)

    Hand Built

    Glad you figured it out 🙂

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Plugin: Edit Flow] Fatal Error on Edit-Flow, messing with whole site.’ is closed to new replies.