Uninitialized string offset login_bg_color in login-form-screen
-
I don’t know if this a consequence of the import settings that went wrong, but i had new issues triggered in login-form-screen.php
Notice: Uninitialized string offset: 0
line 64
if ($colour[0] == '#'
coming from a bad value in line 81:
$loginbg = weblizar_hex2rgb($login_page['login_bg_color']);
I found that
($login_page['login_bg_color']
values was''
. Consequentlyweblizar_hex2rgb
cannot parse the RGB color.But that’s only set when you use a login BG color. I’m using a login BG image. I could fix that problem by switching to BG color, setting a color, and going back to login BG image…
I found similar issues in
login-inline-css.php
.
Notice: Trying to access array offset on value of type bool.It seems it also came from
login_bg_color
but i suspect alsologin_form_opacity
to have similar problems.Not 100% sure but everything should be checked to be sure that default values are valid even if you don’t select a particular option (e.g. color vs image).
- The topic ‘Uninitialized string offset login_bg_color in login-form-screen’ is closed to new replies.