Hi Guys, hoping you can help with an issue I am having logging into a WP site.
This is the error message I get when trying to log in as Admin:
警告:在/homepages/13/dxxxxxxxxx/htdocs/SITENAME/wp-includes/user中非法的字符串偏移量“记住”。php第41行
警告:无法将空字符串分配给/homepages/13/dxxxxxxxxx/htdocs/SITENAME/wp-includes/user中的字符串偏移量。php第41行
警告:在/homepages/13/dxxxxxxxxx/htdocs/SITENAME/wp includes/user中,字符串偏移量“user\\u login”非法。php在线56
致命错误:未捕获错误:无法在/homepages/13/d516757352/htdocs/SITENAME/wp includes/user中创建对字符串偏移量的引用。php:56堆栈跟踪:#0/主页/13/d516757352/htdocs/SITENAME/wp登录。php(806):wp\\u signon(“”、“”)、1{main}抛出/主页/13/dxxxxxxxxx/htdocs/网站名/wp includes/用户。php在线56
**我需要通过FTP访问此文件吗?
非常感谢
亲切的问候**
最合适的回答,由SO网友:user2592356 整理而成
如果您不在当前版本上,请尝试手动更新Wordpress:https://wordpress.org/support/article/updating-wordpress/
如果您使用的是正确的版本,我建议您慢慢删除最近安装的插件。如果你不记得了,我建议慢慢地一个接一个地删除它们,然后检查你是否可以登录。NOTE 你实际上不必删除插件,你可以用一个单数字母或数字重命名每个插件,只需将它们从网站上删除,但不必在分配给你的插件时重新安装
要查找此目录,是的,您需要在以下位置登录您的Cpanel:public\\u html>wp content>plugins