• Resolved ben52

    (@ben52)


    Good afternoon Frank
    for the third time i get this warning:

    PHP Warning: file_put_contents(/home/xxxxx/public_html/wp-content/cache/autoptimize/autoptimize_6e75e1c4cbb5c482c0783eb566018855.css) [function.file-put-contents]: failed to open stream: No such file or directory in /home/xxxxxx/public_html/wp-content/plugins/autoptimize/classes/autoptimizeCache.php on line 62
    Any help pls.
    Thanks

    http://wordpress.org/plugins/autoptimize/

Viewing 1 replies (of 1 total)
  • Plugin Author Frank Goossens

    (@futtta)

    Hi Ben52;
    Well, there were no changes in autoptimizeCache.php between 1.7.x and 1.8, so I’m glad to be able to write this is not a regression 😉

    Regarding the actual error; the line is

    file_put_contents($this->cachedir.$this->filename,$code);

    which is pretty straightforward PHP that just writes the aggregated CSS (in $code) to cache/autoptimize ($this->cachedir) + autoptimize_<md5hash>.css ($this-> filename).

    The only logical explanation for the error-message is that PHP could not write to the filesystem at that moment. I’m afraid there’s nothing much I can do at that point.

    frank

Viewing 1 replies (of 1 total)

The topic ‘error_log’ is closed to new replies.