WordPress.org

Ready to get started?Download WordPress

Forums

Login Lock
Fatal Error (6 posts)

  1. dhzian
    Member
    Posted 2 years ago #

    When I logged into wp the message was:

    Fatal error: Call to undefined function is_rtl() in /home/mhd-01/www.xxxxxx.com/htdocs/wp-includes/general-template.php on line 2102

    http://wordpress.org/extend/plugins/login-lock/

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Try re-uploading all files & folders - except the wp-content folder - from a fresh download of WordPress.

  3. Daniel Convissor
    Member
    Posted 2 years ago #

    This seems like a bug in the order that files are being included by WordPress' core. So I have opened a ticket about it:
    http://core.trac.wordpress.org/ticket/19913

  4. Daniel Convissor
    Member
    Posted 2 years ago #

    The login-lock plugin needed several fixes. I've patched up the code posted it to https://github.com/convissor/login-lock

  5. Mark
    Member
    Plugin Author

    Posted 2 years ago #

    The only safe, OFFICIAL, download page for Login Lock is at WordPress.org.

    http://wordpress.org/extend/plugins/login-lock

    @Daniel - you can stop posting promotional links to your forked code now.

    Thanks.

  6. Daniel Convissor
    Member
    Posted 2 years ago #

    I'm sorry for stepping on your toes, Mark. You've made an excellent plugin. I found some problems, so came up with fixes and workarounds for my own WP site. Rather than keep them to myself, I put them in a location where they could help everyone.

    I then contacted you directly via the website in the readme file. I didn't know how quickly you'd be able to address the matter, so mentioned the availability of fixes in the various support threads. I then contacted you again via the website, hoping to open direct communication so I can help you test things, etc. Your reply has not arrived.

    I haven't really forked the project. All of the credits in the files are still yours. Though now the version number and description have been tweaked so people would not confuse it with the official version.

    Now down to buisiness... The 2.2.6 release does not fix the is_rtl() problem for logins after the administrator has locked everyone out. I moved your wp_locale strategy to where it was really needed. Please note, that the strategy still produces notices, so needs improvement. Please read my comments in the source code for more information.

    The code in the convissor226 branch on GitHub has three additional fixes. One of them is important for insuring against SQL injection.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags