WordPress.org

Ready to get started?Download WordPress

Forums

underConstruction
Fatal error: Call to undefined function get_editable_roles() (13 posts)

  1. mkbonline
    Member
    Posted 10 months ago #

    Help please. I cant access my site as in Admin when using wp-admin

    Fatal error: Call to undefined function get_editable_roles() in /home/XXXX/public_html/wp-content/plugins/underconstruction/underConstruction.php on line 135

    http://wordpress.org/extend/plugins/underconstruction/

  2. Give this a try.

    1. Using FTP or whatever filemanagement tools your host has provided you with navigate to the wp-content/plugins directory.
    2. Once there locate and delete the underconstruction directory. Just that one directory and nothing else.
    3. Try and re-login to your WordPress dashboard.
  3. Robert Trevellyan
    Member
    Posted 10 months ago #

    I get the same error.

    You aren't actually locked out of your admin at this point. Just edit the URL in your browser and change wp-login.php to wp-admin. No need to delete the plugin.

  4. nitin044
    Member
    Posted 10 months ago #

    Hi mkbonline

    I got the same error. But this is how it got solved.
    I activated this plugin..Then make the plugin on.
    and when I logged out from my actual dashboard and again went to login my site like...

    http://www.abc.com/wp-admin

    and tried to login, it gave me the same error and the page currently it was showing http://www.abc.com/wp-login.php

    so i opened a new window and typed the URL again http://www.abc.com/wp-admin

    and it took me directly to my dashboard...
    Hope this trick helps you.

    This is actually shouldn't happen, but its great plugin ...thank you.

  5. orangepink
    Member
    Posted 10 months ago #

    Hi everybody,

    yes, it is. In this way I came into the admin area, too and without entering a password. (shock!) But the problem comes back exactly. If you have logged out and log in again, comes the same error message:

    Fatal error: Call to undefined function get_editable_roles() in /home/XXXX/public_html/wp-content/plugins/underconstruction/underConstruction.php on line 135

    This is a serious bug.
    What now?

  6. Eddie - Digital Marketing Consultant
    Member
    Posted 10 months ago #

    I get the same problem. The workaround is to edit the URL and change it to wp-admin. But nonetheless the plugin needs to be fixed.

    Plugin dev could take a clue from the fix used for a similar problem with Jetpack:

    http://plugins.trac.wordpress.org/changeset/706924

  7. masterbip
    Member
    Posted 10 months ago #

    Got the same problem in all my WordPress sites now...

    Any update? Any fix?

    Thanks!!!

  8. johnnygphotography
    Member
    Posted 10 months ago #

    new version, 1.11 just fixed this for me. thank you!

  9. Morgensonne
    Member
    Posted 10 months ago #

    Also for me, the login works again now without the error.

    But something is new since the update 1.11:
    I am not right away - as usual - straight into the admin area, but in the blog preview. I have to click "Dashboard" to get into the admin area. That's new.
    Has anyone else this?

  10. Robert Trevellyan
    Member
    Posted 10 months ago #

    No, 1.11 is working without error for me and going right to the dashboard. Are you logging in by going to "<your-site-url>/wp-admin"?

  11. Morgensonne
    Member
    Posted 10 months ago #

    Hi Robert,
    I take the same login as I do for 3 years. I think it's the standard-login.
    "mysite.com/wp-login-php".
    I have always arrived directly in the admin area.
    Then the login problem came with version 1.10. And since 1:11 this now.
    Strange.

  12. Robert Trevellyan
    Member
    Posted 10 months ago #

    Strange indeed - when I use <mysite.com>/wp-login.php it takes me right to the dashboard.

  13. Morgensonne
    Member
    Posted 10 months ago #

    Exactly, so it was with me always. So far.
    I have not changed anything. Only the update to 1:11.
    We'll see if this has changed at someone else in this way.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.