It looks to me as though one of your plug-ins (or the WP install itself) has not been properly installed. What do you mean by “refresh”? Refresh what?
Slightly off-topic, you should not be displaying error messages and warnings on a live site as they are a security risk.
Actually when we first time open in browser its display above mentioned error then if we refresh same urls then website working properly…not any error came out
My first guess was that it was likely due to a change with the allow_url_fopen setting. The error message being “no such” doesn’t suggest that as the cause (though the “failed to open” could) and it wouldn’t be the first time I’ve seen an error message that was somewhat misleading.
Looking closer, I see “cache”. Considering that the error is only on initial load and not present with a refresh, I’m wondering if “cache” is a temporary folder that is created per session. It would be intuitive to think of a cache folder as being more or less long-lived (persists across sessions) and one would think if it was temporary there would be a name somewhere to indicate that, but it wouldn’t be the first time I saw something with a less than ideal descriptive name.
In any case, I think if there is a chance the opendir might fail it would be a good idea to wrap that bit in a conditional to deal with what happens when there is a fail.
Sir below mentioned file and folder strucuture is not present in my server. I don’t know where is came from var/www/html/cms/application/models/api_model.php on line 14 /var/www/html/cms/application/models/api_model.php on line 15 /var/www/html/cms/application/models/api_model.php on line 22 /var/www/html/cms/application/models/api_model.php on line 22