Wordpress works but suddenly could not login

I have not modified anything, but suddenly I found I could not login to my wp-admin page, it shows 500

www.happypiano.tk/wp-admin

I tried everything on net but it does not work.

Could any help me? thanks

I have disabled all plugins by renaming… still not working

Can you delete the .htaccess file within wp-admin and public_html

1 Like

Thanks for your help.

Tried, did not work.

I enabled the debug mode and found the log:

maybe I have to reinstall wp…

How do you think?

[20-Mar-2017 21:28:40 UTC] PHP Warning: Illegal string offset ‘remember’ in /storage/h4/250/1008250/public_html/wp-includes/user.php on line 41
[20-Mar-2017 21:28:40 UTC] PHP Warning: Cannot assign an empty string to a string offset in /storage/h4/250/1008250/public_html/wp-includes/user.php on line 41
[20-Mar-2017 21:28:40 UTC] PHP Warning: Illegal string offset ‘user_login’ in /storage/h4/250/1008250/public_html/wp-includes/user.php on line 56
[20-Mar-2017 21:28:40 UTC] PHP Fatal error: Uncaught Error: Cannot create references to/from string offsets in /storage/h4/250/1008250/public_html/wp-includes/user.php:56
Stack trace:
#0 /storage/h4/250/1008250/public_html/wp-login.php(784): wp_signon(’’, ‘’)
#1 {main}
thrown in /storage/h4/250/1008250/public_html/wp-includes/user.php on line 56
[20-Mar-2017 21:29:15 UTC] PHP Warning: Illegal string offset ‘remember’ in /storage/h4/250/1008250/public_html/wp-includes/user.php on line 41
[20-Mar-2017 21:29:15 UTC] PHP Warning: Cannot assign an empty string to a string offset in /storage/h4/250/1008250/public_html/wp-includes/user.php on line 41
[20-Mar-2017 21:29:15 UTC] PHP Warning: Illegal string offset ‘user_login’ in /storage/h4/250/1008250/public_html/wp-includes/user.php on line 56
[20-Mar-2017 21:29:15 UTC] PHP Fatal error: Uncaught Error: Cannot create references to/from string offsets in /storage/h4/250/1008250/public_html/wp-includes/user.php:56
Stack trace:
#0 /storage/h4/250/1008250/public_html/wp-login.php(784): wp_signon(’’, ‘’)
#1 {main}
thrown in /storage/h4/250/1008250/public_html/wp-includes/user.php on line 56
[20-Mar-2017 21:29:20 UTC] PHP Warning: Parameter 1 to wp_default_styles() expected to be a reference, value given in /storage/h4/250/1008250/public_html/wp-includes/plugin.php on line 601
[20-Mar-2017 21:29:20 UTC] PHP Warning: Parameter 1 to wp_default_scripts() expected to be a reference, value given in /storage/h4/250/1008250/public_html/wp-includes/plugin.php on line 601
[20-Mar-2017 21:29:27 UTC] PHP Warning: Illegal string offset ‘remember’ in /storage/h4/250/1008250/public_html/wp-includes/user.php on line 41
[20-Mar-2017 21:29:27 UTC] PHP Warning: Cannot assign an empty string to a string offset in /storage/h4/250/1008250/public_html/wp-includes/user.php on line 41
[20-Mar-2017 21:29:27 UTC] PHP Warning: Illegal string offset ‘user_login’ in /storage/h4/250/1008250/public_html/wp-includes/user.php on line 56
[20-Mar-2017 21:29:27 UTC] PHP Fatal error: Uncaught Error: Cannot create references to/from string offsets in /storage/h4/250/1008250/public_html/wp-includes/user.php:56
Stack trace:
#0 /storage/h4/250/1008250/public_html/wp-login.php(784): wp_signon(’’, ‘’)
#1 {main}
thrown in /storage/h4/250/1008250/public_html/wp-includes/user.php on line 56
[20-Mar-2017 21:56:02 UTC] PHP Warning: mysqli_query(): MySQL server has gone away in /storage/h4/250/1008250/public_html/wp-includes/wp-db.php on line 1811
[20-Mar-2017 21:56:02 UTC] PHP Warning: mysqli_query(): Error reading result set’s header in /storage/h4/250/1008250/public_html/wp-includes/wp-db.php on line 1811
[20-Mar-2017 21:56:05 UTC] PHP Warning: Illegal string offset ‘remember’ in /storage/h4/250/1008250/public_html/wp-includes/user.php on line 41
[20-Mar-2017 21:56:05 UTC] PHP Warning: Cannot assign an empty string to a string offset in /storage/h4/250/1008250/public_html/wp-includes/user.php on line 41
[20-Mar-2017 21:56:05 UTC] PHP Warning: Illegal string offset ‘user_login’ in /storage/h4/250/1008250/public_html/wp-includes/user.php on line 56
[20-Mar-2017 21:56:05 UTC] PHP Fatal error: Uncaught Error: Cannot create references to/from string offsets in /storage/h4/250/1008250/public_html/wp-includes/user.php:56
Stack trace:
#0 /storage/h4/250/1008250/public_html/wp-login.php(784): wp_signon(’’, ‘’)
#1 {main}
thrown in /storage/h4/250/1008250/public_html/wp-includes/user.php on line 56
[20-Mar-2017 21:56:36 UTC] PHP Warning: Parameter 1 to wp_default_styles() expected to be a reference, value given in /storage/h4/250/1008250/public_html/wp-includes/plugin.php on line 601
[20-Mar-2017 21:56:36 UTC] PHP Warning: Parameter 1 to wp_default_scripts() expected to be a reference, value given in /storage/h4/250/1008250/public_html/wp-includes/plugin.php on line 601
[20-Mar-2017 23:41:28 UTC] PHP Warning: Illegal string offset ‘remember’ in /storage/h4/250/1008250/public_html/wp-includes/user.php on line 41
[20-Mar-2017 23:41:28 UTC] PHP Warning: Cannot assign an empty string to a string offset in /storage/h4/250/1008250/public_html/wp-includes/user.php on line 41
[20-Mar-2017 23:41:28 UTC] PHP Warning: Illegal string offset ‘user_login’ in /storage/h4/250/1008250/public_html/wp-includes/user.php on line 56
[20-Mar-2017 23:41:28 UTC] PHP Fatal error: Uncaught Error: Cannot create references to/from string offsets in /storage/h4/250/1008250/public_html/wp-includes/user.php:56
Stack trace:
#0 /storage/h4/250/1008250/public_html/wp-login.php(784): wp_signon(’’, ‘’)
#1 {main}
thrown in /storage/h4/250/1008250/public_html/wp-includes/user.php on line 56
[21-Mar-2017 05:30:15 UTC] PHP Warning: Illegal string offset ‘remember’ in /storage/h4/250/1008250/public_html/wp-includes/user.php on line 41
[21-Mar-2017 05:30:15 UTC] PHP Warning: Cannot assign an empty string to a string offset in /storage/h4/250/1008250/public_html/wp-includes/user.php on line 41
[21-Mar-2017 05:30:15 UTC] PHP Warning: Illegal string offset ‘user_login’ in /storage/h4/250/1008250/public_html/wp-includes/user.php on line 56
[21-Mar-2017 05:30:15 UTC] PHP Fatal error: Uncaught Error: Cannot create references to/from string offsets in /storage/h4/250/1008250/public_html/wp-includes/user.php:56
Stack trace:
#0 /storage/h4/250/1008250/public_html/wp-login.php(784): wp_signon(’’, ‘’)
#1 {main}
thrown in /storage/h4/250/1008250/public_html/wp-includes/user.php on line 56
[21-Mar-2017 05:30:19 UTC] PHP Warning: Illegal string offset ‘remember’ in /storage/h4/250/1008250/public_html/wp-includes/user.php on line 41
[21-Mar-2017 05:30:19 UTC] PHP Warning: Cannot assign an empty string to a string offset in /storage/h4/250/1008250/public_html/wp-includes/user.php on line 41
[21-Mar-2017 05:30:19 UTC] PHP Warning: Illegal string offset ‘user_login’ in /storage/h4/250/1008250/public_html/wp-includes/user.php on line 56
[21-Mar-2017 05:30:19 UTC] PHP Fatal error: Uncaught Error: Cannot create references to/from string offsets in /storage/h4/250/1008250/public_html/wp-includes/user.php:56
Stack trace:
#0 /storage/h4/250/1008250/public_html/wp-login.php(784): wp_signon(’’, ‘’)
#1 {main}
thrown in /storage/h4/250/1008250/public_html/wp-includes/user.php on line 56
[21-Mar-2017 05:30:20 UTC] PHP Warning: Illegal string offset ‘remember’ in /storage/h4/250/1008250/public_html/wp-includes/user.php on line 41
[21-Mar-2017 05:30:20 UTC] PHP Warning: Cannot assign an empty string to a string offset in /storage/h4/250/1008250/public_html/wp-includes/user.php on line 41
[21-Mar-2017 05:30:20 UTC] PHP Warning: Illegal string offset ‘user_login’ in /storage/h4/250/1008250/public_html/wp-includes/user.php on line 56
[21-Mar-2017 05:30:20 UTC] PHP Fatal error: Uncaught Error: Cannot create references to/from string offsets in /storage/h4/250/1008250/public_html/wp-includes/user.php:56
Stack trace:
#0 /storage/h4/250/1008250/public_html/wp-login.php(784): wp_signon(’’, ‘’)
#1 {main}
thrown in /storage/h4/250/1008250/public_html/wp-includes/user.php on line 56
[21-Mar-2017 05:43:35 UTC] PHP Warning: Illegal string offset ‘remember’ in /storage/h4/250/1008250/public_html/wp-includes/user.php on line 41
[21-Mar-2017 05:43:35 UTC] PHP Warning: Cannot assign an empty string to a string offset in /storage/h4/250/1008250/public_html/wp-includes/user.php on line 41
[21-Mar-2017 05:43:35 UTC] PHP Warning: Illegal string offset ‘user_login’ in /storage/h4/250/1008250/public_html/wp-includes/user.php on line 56
[21-Mar-2017 05:43:35 UTC] PHP Fatal error: Uncaught Error: Cannot create references to/from string offsets in /storage/h4/250/1008250/public_html/wp-includes/user.php:56
Stack trace:
#0 /storage/h4/250/1008250/public_html/wp-login.php(784): wp_signon(’’, ‘’)
#1 {main}
thrown in /storage/h4/250/1008250/public_html/wp-includes/user.php on line 56
[21-Mar-2017 06:59:01 UTC] PHP Warning: Illegal string offset ‘remember’ in /storage/h4/250/1008250/public_html/wp-includes/user.php on line 41
[21-Mar-2017 06:59:01 UTC] PHP Warning: Cannot assign an empty string to a string offset in /storage/h4/250/1008250/public_html/wp-includes/user.php on line 41
[21-Mar-2017 06:59:01 UTC] PHP Warning: Illegal string offset ‘user_login’ in /storage/h4/250/1008250/public_html/wp-includes/user.php on line 56
[21-Mar-2017 06:59:01 UTC] PHP Fatal error: Uncaught Error: Cannot create references to/from string offsets in /storage/h4/250/1008250/public_html/wp-includes/user.php:56
Stack trace:
#0 /storage/h4/250/1008250/public_html/wp-login.php(784): wp_signon(’’, ‘’)
#1 {main}
thrown in /storage/h4/250/1008250/public_html/wp-includes/user.php on line 56
[21-Mar-2017 06:59:07 UTC] PHP Warning: Parameter 1 to wp_default_styles() expected to be a reference, value given in /storage/h4/250/1008250/public_html/wp-includes/plugin.php on line 601
[21-Mar-2017 06:59:07 UTC] PHP Warning: Parameter 1 to wp_default_scripts() expected to be a reference, value given in /storage/h4/250/1008250/public_html/wp-includes/plugin.php on line 601

Fresh install from WordPress site via manual installation may be best.

@longcui Its working fine now.

1 Like