升级3.5后的小波折

昨晚在后台准备编辑一下页面的,结果报错,打开主题编辑时也报错: Warning: scandir() has been disabled for security reasons in /www/users/■■■■/class-wp-theme.php on line 980 Warning: Invalid argument supplied for foreach() in /www/users/■■■■/class-wp-theme.php on line 983 记得之前在3.3升级到3.4时貌似也出现过,由于这个原因又从3.4回到3.3。Google之后发现是因为服务器禁用了scandir...

read more...