[Plugin: AntiVirus] Get an unusual error
I get “virus suspected” email. Going to the AntiVirus setting page in the WP dashboard, I see the following error at the very top of the page (on white page background and the regular Dashboard content being pushed underneath)
Warning: scandir(/home/[…]/public_html/wp-content/themes/komotion/log) [function.scandir]: failed to open dir: Permission denied in /home/[…]/public_html/wp-includes/class-wp-theme.php on line 978
Warning: scandir() [function.scandir]: (errno 13): Permission denied in /home/[…]/public_html/wp-includes/class-wp-theme.php on line 978
Warning: Invalid argument supplied for foreach() in /home/[…]/public_html/wp-includes/class-wp-theme.php on line 981
There is no other error being displayed on the AntiVirus page but because of the error above it looks like clicking the “Scan the theme templates now” button does not do anything.
Upon some investigation… Going to my theme folder I see there is a “log” folder in the root of the theme folder. The folder has permission of “111” and inside there is a file archivers.php.
Is this “log” folder created by AntiVirus??
Furthermore, as long as that folder is there with 111 permission, I cannot save any pages for a website that uses that theme. If I change permissions to 777, issue get resolved.
I have WP Multisite ON.
Any ideas what is going on?
- The topic ‘[Plugin: AntiVirus] Get an unusual error’ is closed to new replies.