通过phperror_log获取是内存溢出,找到哪个文件哪个地方Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 16252916 bytes) in D:\wamp\www\wp-includes\user.php on line 1062(D:\wamp\www\wp-includes\user.php)
找到可能是用户表量大。打印用户数的量
查看用户表
解决方案
删除大量恶意注册的用户(21万用户)
select count(*) from wp_users where user_login like 'www.%';
DELETE FROM wp_users where user_login like 'www.%'