wordpress chmod():& file_put_contents& touch():错误

时间:2016-05-20 18:53:57

标签: php wordpress chmod

我在网站上遇到以下错误。我已经在StackOverFlow上阅读了其他答案,但没有为我找到一个工作......

Warning: chmod(): Operation not permitted in /home4/gorgeous/public_html/www.glamournation.com.au/wp-includes/nav-menu.php on line 502

Warning: file_put_contents(/home4/gorgeous/public_html/www.glamournation.com.au/wp-includes/../.htaccess): failed to open stream: Permission denied in /home4/gorgeous/public_html/www.glamournation.com.au/wp-includes/nav-menu.php on line 503

Warning: chmod(): Operation not permitted in /home4/gorgeous/public_html/www.glamournation.com.au/wp-includes/nav-menu.php on line 504

Warning: touch(): Utime failed: Operation not permitted in /home4/gorgeous/public_html/www.glamournation.com.au/wp-includes/nav-menu.php on line 508

我在WP LOcker上使用了avada主题,插件是Fusion Builder,Revolution Slider,Contact form 7和All in one WP security。 帮我解决这个问题。

1 个答案:

答案 0 :(得分:0)

看起来好像WordPress核心文件的情况正在改变为WP文件中提到的行号,以及它试图做的动作与WordPress无关。您的网站遭到黑客攻击,您应该通过替换WP的核心文件来修复它并清除该文件上的恶意代码。

很抱歉成为坏消息的运营商,但我建议您阅读此页面以获取您的网站: https://codex.wordpress.org/FAQ_My_site_was_hacked

更多信息: https://wordpress.org/support/topic/nav-menuphp-hacked

用于扫描和替换/恢复原始核心wp文件的插件: https://wordpress.org/plugins/sucuri-scanner/