Support » Fixing WordPress » failed to open stream: Permission denied

  • Resolved Mdal


    Hi everyone,

    Since I updated my wordpress website, I have got this warning :

    Warning: file_get_contents(/homepages/30/d362907616/htdocs/noblespirits/wp-content/themes/nayma/404.php): failed to open stream: Permission denied in /homepages/30/d362907616/htdocs/noblespirits/wp-includes/class-wp-theme.php on line 953

    It appears in the page attributes on my dashboard just after the parent.

    Any ideas to solve this out ? Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator t-p


    – this sees to be a permission issue.

    – to rule any specific issue with your “nayma’ theme, try switching to the UNEDITED default Twenty Fourteen theme for a moment.


    Thanks for your quick reply.

    I can’t switch to the default theme because I’m working on an active website, I don’t want to disturb ours customers.

    What can I do about the permissions ?

    Moderator James Huff


    You’ll need to try the switch in order to rule-out a theme-specific issue, otherwise no one will know how what the problem is. We can only identify the problem by ruling-out common causes, and since the error actually mentions your current theme, that seems very likely.

    You don’t have to stay switched for long, just switch long enough to see if the issue continues, you can even do it late at night when your audience is small.

    If the error goes away, it’s definitely the theme, and I recommend getting in touch with the theme’s designer about the problem.

    Okay thank you.

    Moderator James Huff


    You’re welcome!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘failed to open stream: Permission denied’ is closed to new replies.