WordPress.org

Support

Support » How-To and Troubleshooting » file_get_contents Warning

file_get_contents Warning

  • I’m very new to WordPress and have been tasted with keeping our website up to date. I’ve noticed recently that on each page, under Page Attributes, I am getting this error:

    Warning: file_get_contents(/homepages/25/d361946884/htdocs/wp-content/themes/Avada/plagmain.php) [function.file-get-contents]: failed to open stream: Permission denied in /homepages/25/d361946884/htdocs/wp-includes/class-wp-theme.php on line 953

    Then, when I make any changes and update the page I get this message:

    Warning: file_get_contents(/homepages/25/d361946884/htdocs/wp-content/themes/Avada/plagmain.php) [function.file-get-contents]: failed to open stream: Permission denied in /homepages/25/d361946884/htdocs/wp-includes/class-wp-theme.php on line 953

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/25/d361946884/htdocs/wp-includes/class-wp-theme.php:953) in /homepages/25/d361946884/htdocs/wp-admin/post.php on line 235

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/25/d361946884/htdocs/wp-includes/class-wp-theme.php:953) in /homepages/25/d361946884/htdocs/wp-includes/pluggable.php on line 1121

    Despite these errors, the site appears to be functioning normally and all updates work.

    Could someone please shed some light on this please, in laymans terms if possible!

    Thanks.

Viewing 1 replies (of 1 total)
  • esmi

    @esmi

    Forum Moderator

    You have a problem in your commercial theme – it is not compatible with your hosting. I’m sorry but as you are using a commercial theme, you need to seek support from the theme’s developer/vendor. We do not have access to, nor do we support, commercial products here.

Viewing 1 replies (of 1 total)
  • The topic ‘file_get_contents Warning’ is closed to new replies.
Skip to toolbar