• tomhell

    (@tomhell)


    Hi,

    last friday a wordpress site I’m maintaining went inaccessible and reviewing the logs I found this was related to a plugin where it tried to access a file that wasn’t on the server.

    As far as I know, there was no updates done prior to this (since I do all updates manually), so to try to understand this to prevent it from happening again I’m wondering how a required file can suddenly not exist? What are the possible explanations (if we assume that noone has ben tampering with the files on the server)?

    The error message was “failed to open stream: No such file or directory”. And as an extra bit of info, the file missing is some kind of cache file and I don’t know if it ever existed in the first place.

    And please, never mind which plugin this regards. I’m asking to maybe get a general idea as this happens to themes and plugins in general.

    • This topic was modified 2 years ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic
Viewing 1 replies (of 1 total)
  • threadi

    (@threadi)

    For this you should rather contact the support of the plugin that caused you the problem. Maybe they have released an update in which this file dependency was implemented without checking exactly if it applies.

    Generally, here in the WordPress forum you can only talk about WordPress itself and not about plugins or themes, because they sometimes use many own methods to integrate files. I know such a file problem, for example, only if not enough space is free in the hosting when the file should be written. Then the write process fails, but the programming needs the file – this in combination can lead to the described error. Problematic file permissions in the hosting can also be a reason for this.

Viewing 1 replies (of 1 total)
  • The topic ‘How can a required file go missing?’ is closed to new replies.