Support » Plugin: Custom Login » Error-Can’t Save any settings or custom CSS

  • Resolved Kggg

    (@kggg)


    I have been using this plugin for a long time. Today I tried to update some of the settings to change color or add custom css and I get a white screen with this error message–
    Warning: “continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”? in /…/wp-includes/plugins/bm-custom-login/csstidy/class.csstidy.php on line 853

    Warning: Cannot modify header informtioan- headers already sent by …/wp-includes/pluggable.php on line 1265

    Warning: Cannot modify header informtioan- headers already sent by …/wp-includes/pluggable.php on line 1268

    Please advise. If I select to save the settings without any changes I still get this error.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author binarymoon

    (@binarymoon)

    Hi there – thanks for the message.

    This sounds very strange. The plugin hasn’t been changed in 10 months so I see no reason it would stop working now. However, if you haven’t changed the settings in a while then perhaps something broke in a past update.

    I’ve tested it locally and don’t see a problem so I wonder if it’s something with either the PHP version or the CSS you are using.

    So – could you tell me your PHP version please? You can find this in:
    admin > tools > site health > info > Server

    Also could you paste in the CSS you are trying to save so I can test it myself.

    Thanks

    Thread Starter Kggg

    (@kggg)

    I haven’t changed any custom setting in a while but noticed recently that the logo is overtopping of the filed label for user name. I wanted to increase this spacing.

    Below is the custom css that is still in the custom settings CSS field box and has been there for a long time. If I do not change anything and just hit save it gives me the same white screen with warning messages.

    My PHP version 7.3.11
    WordPress version 5.3.2

    Custom CSS
    .login form {
    padding:66px 24px 46px;
    width:60%;
    }

    #login_error,.login .message,.interim-login.login .message {
    margin-left:0;
    margin-top:80px;
    padding:12px;
    }

    .login .message {
    background-color:#ffffff;
    border-top:none;
    box-shadow:none;
    }

    .message {
    color:#5d9732;
    text-align:center;
    width:287px;
    }

    Plugin Author binarymoon

    (@binarymoon)

    Just checked csstidy and it seems it’s been updated since I last worked on the plugin so I will update it to the latest version and see if that helps.

    Thread Starter Kggg

    (@kggg)

    Thank you for the quick update-that fixed my problem!

    Plugin Author binarymoon

    (@binarymoon)

    That’s great. Glad it worked!

    Plugin Author binarymoon

    (@binarymoon)

    If you have a moment a review of the plugin would be most appreciated.
    https://wordpress.org/support/plugin/bm-custom-login/reviews/

    Thanks in advance!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Error-Can’t Save any settings or custom CSS’ is closed to new replies.