2017-07-30 285 views
0

http://localhost:8888/wp-login.php是空白的http://本地主机:8888/WP-login.php中是空白

请帮助无法登录

给出了以下错误:

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; WP_MatchesMapRegex has a deprecated constructor in /Users/danmeyer/Desktop/B2W WP/wp-includes/class-wp.php on line 633 

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Translation_Entry has a deprecated constructor in /Users/danmeyer/Desktop/B2W WP/wp-includes/pomo/entry.php on line 14 

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; POMO_Reader has a deprecated constructor in /Users/danmeyer/Desktop/B2W WP/wp-includes/pomo/streams.php on line 12 

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; POMO_FileReader has a deprecated constructor in /Users/danmeyer/Desktop/B2W WP/wp-includes/pomo/streams.php on line 106 

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; POMO_StringReader has a deprecated constructor in /Users/danmeyer/Desktop/B2W WP/wp-includes/pomo/streams.php on line 150 

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; POMO_CachedFileReader has a deprecated constructor in /Users/danmeyer/Desktop/B2W WP/wp-includes/pomo/streams.php on line 189 

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; POMO_CachedIntFileReader has a deprecated constructor in /Users/danmeyer/Desktop/B2W WP/wp-includes/pomo/streams.php on line 204 

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; WP_Widget_Factory has a deprecated constructor in /Users/danmeyer/Desktop/B2W WP/wp-includes/widgets.php on line 403 

Warning: Cannot modify header information - headers already sent by (output started at /Users/danmeyer/Desktop/B2W WP/wp-includes/class-wp.php:633) in /Users/danmeyer/Desktop/B2W WP/wp-login.php on line 418 

Warning: Cannot modify header information - headers already sent by (output started at /Users/danmeyer/Desktop/B2W WP/wp-includes/class-wp.php:633) in /Users/danmeyer/Desktop/B2W WP/wp-login.php on line 431 

Warning: Illegal string offset 'remember' in /Users/danmeyer/Desktop/B2W WP/wp-includes/user.php on line 39 

Warning: Cannot assign an empty string to a string offset in /Users/danmeyer/Desktop/B2W WP/wp-includes/user.php on line 39 

Warning: Illegal string offset 'user_login' in /Users/danmeyer/Desktop/B2W WP/wp-includes/user.php on line 54 

Fatal error: Uncaught Error: Cannot create references to/from string offsets in /Users/danmeyer/Desktop/B2W WP/wp-includes/user.php:54 Stack trace: #0 /Users/danmeyer/Desktop/B2W WP/wp-login.php(770): wp_signon('', '') #1 {main} thrown in /Users/danmeyer/Desktop/B2W WP/wp-includes/user.php on line 54 
+0

显示user.php的代码 – user7294900

回答

0

尝试手动重置插件(不需要仪表板访问)。如果解决了问题,请单独重新激活每个问题,直到找到原因。

如果不解决这个问题,访问您的文件,然后定位到/wp-content/themes/和重命名你的当前活动主题的目录。这将强制默认主题激活并希望排除主题特定的问题(主题功能可能会干扰插件)。

+0

这没有奏效 - 尝试了两条建议 –