Support » Plugin: Custom Login » "Warning: Creating default object from empty value" – after upgrading to PHP 5.4

Viewing 2 replies - 1 through 2 (of 2 total)
  • It’s due to changes in PHP. Add the following:
    if ( !isset( $custom_login->settings ) )
    $custom_login = new StdClass();
    $custom_login->settings = get_option( ‘custom_login_settings’ );

    Plugin Author Austin Passy

    (@austyfrosty)

    Thanks for the reply wunderdojo.

    I have added this fix in the most recent update. See version > 1.1.1

    Though you only need to see if $custom_login is not set..

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘"Warning: Creating default object from empty value" – after upgrading to PHP 5.4’ is closed to new replies.