WordPress.org

Ready to get started?Download WordPress

Forums

Custom Login
[resolved] Custom-Login and PHP 5.4 (5 posts)

  1. la79
    Member
    Posted 1 year ago #

    My hosting provider is making the switch from PHP 5.2 to PHP 5.4.

    I noticed that the plugin does not work with PHP 5.4. I get an error of:
    Warning: Creating default object from empty value in wp-content/plugins/custom-login/custom-login.php on line 103

    Any ideas on how to correct this warning?

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

  2. Austin Passy
    Member
    Plugin Author

    Posted 1 year ago #

    I am currently working on an update and will add this to the list of issues. A new version should be released by end of day, hopefully I can get find the issue and fix this problem with the next release.

  3. Austin Passy
    Member
    Plugin Author

    Posted 1 year ago #

    Quick fix before the release add before line 103:

    if ( !$custom_login ) {
    		$custom_login = new stdClass;
    	}
  4. la79
    Member
    Posted 1 year ago #

    Awesome Thanks! No longer getting an error. However now the image under the "login form background url" is no longer showing up. Something I did wrong?

    Tried to delete and reupload. Still no luck. Will open new Case.

  5. Austin Passy
    Member
    Plugin Author

    Posted 1 year ago #

    Looking into that.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags