Warning: Illegal string offset 'remember'

//in wp-login line 793 //change this: $user = wp_signon( '', $secure_cookie ); //for this: $user = wp_signon( array(), $secure_cookie );
when you cannot acces to wp-admin because this warings:
Warning: Illegal string offset 'remember' in C:\xampp\htdocs\wmasm.com\wp-includes\user.php on line 41

Warning: Cannot assign an empty string to a string offset in C:\xampp\htdocs\wmasm.com\wp-includes\user.php on line 41

Warning: Illegal string offset 'user_login' in C:\xampp\htdocs\wmasm.com\wp-includes\user.php on line 56

Fatal error: Uncaught Error: Cannot create references to/from string offsets in C:\xampp\htdocs\wmasm.com\wp-includes\user.php:56 Stack trace: #0 C:\xampp\htdocs\wmasm.com\wp-login.php(784): wp_signon('', '') #1 {main} thrown in C:\xampp\htdocs\wmasm.com\wp-includes\user.php on line 56

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.