• Resolved Dave

    (@tlwh)


    I’ve been getting random errors since the last update. Either on a page load or when a comment if posted.

    Any Help appreciated. The error did not appear prior to the last update.

    Warning: rename(/home/www/sitename.com/blog/wp-content/cache/quick-cache/cache/http/sintename.com-546c419336e8e168313635-tmp,/home/www/sitename.com/blog/wp-content/cache/quick-cache/cache/http/www-sitename-com) [function.rename]: Directory not empty in /home/www/sitename.com/blog/wp-content/plugins/quick-cache/includes/share.php on line 1595

    Fatal error: Uncaught exception ‘Exception’ with message ‘Unable to delete files. Rename failure on tmp directory: /home/www/sitename.com/blog/wp-content/cache/quick-cache/cache/http/www-sirename-com-546c419336e8e168313635-tmp.’ in /home/www/sitename.com/blog/wp-content/plugins/quick-cache/includes/share.php:1596 Stack trace: #0 /home/www/sitename.com/blog/wp-content/plugins/quick-cache/includes/share.php(1357): quick_cache\share->delete_files_from_host_cache_dir(‘/^\/blog\/food\…’) #1 /home/www/sitename.com/blog/wp-content/plugins/quick-cache/quick-cache.inc.php(1015): quick_cache\share->clear_files_from_host_cache_dir(‘/^\/blog\/food\…’) #2 [internal function]: quick_cache\plugin->auto_clear_post_cache(16591) #3 /home/www/sitename.com/blog/wp-includes/plugin.php(505): call_user_func_array(Array, Array) #4 /home/www/sitename.com/blog/wp-includes/post.php(5464): do_action(‘clean_post_cach…’, 16591, Object(WP_Post)) #5 /home/www/sitename.com/bl in /home/www/sitename.com/blog/wp-content/plugins/quick-cache/includes/share.php on line 1596

    https://wordpress.org/plugins/quick-cache/

Viewing 7 replies - 1 through 7 (of 7 total)
  • I just got a bunch of the same errors while updating posts programatically.

    PHP Fatal error: Uncaught exception ‘Exception’ with message ‘Unable to delete files. Rename failure on tmp directory: /opt/website/prod_sites/name-of-site/wp-content/cache/quick-cache/cache/https/www-name-of-site-com.’ in /opt/website/prod_sites/name-of-site/wp-content/plugins/quick-cache/includes/share.php:1566\nStack trace:\n#0 /opt/website/prod_sites/name-of-site/wp-content/plugins/quick-cache/includes/share.php(1357): quick_cache\\share->delete_files_from_host_cache_dir(‘/^\\\\/blog(?:\\\\/in…’)\n#1 /opt/website/prod_sites/name-of-site/wp-content/plugins/quick-cache/quick-cache.inc.php(1322): quick_cache\\share->clear_files_from_host_cache_dir(‘/^\\\\/blog(?:\\\\/in…’)\n#2 /opt/website/prod_sites/name-of-site/wp-content/plugins/quick-cache/quick-cache.inc.php(1029): quick_cache\\plugin->auto_clear_posts_page_cache()\n#3 [internal function]: quick_cache\\plugin->auto_clear_post_cache(4782)\n#4 /opt/website/prod_sites/name-of-site/wp-includes/plugin.php(505): call_user_func_array(Array, Array)\n#5 /opt/website/prod_sites/name-of-site/wp-includes/post.php(5464): do_action(‘clean_post_cach… in /opt/website/prod_sites/name-of-site/wp-content/plugins/quick-cache/includes/share.php on line 1566

    Plugin Author Raam Dev

    (@raamdev)

    Thank you for the bug report. There is a fix for this in the development trunk that will go out with the next update in the next week or two: https://github.com/websharks/quick-cache/issues/288#issuecomment-63539170

    If you’re interested in testing a beta release of Quick Cache before the next version comes out, please sign-up to be a beta tester here.

    If you cannot wait for the next release, you can download the previous release (v141001); be sure to click the “Restore” button on the options page after downgrading if you go this route.

    Thread Starter Dave

    (@tlwh)

    Thanks for the reply Raam. I look forward to the update.

    Yes, the previous version works well.

    I am also on the waiting list.

    Currently our line 1595 in share.php looks like:

    if(!@rename($_host_cache_dir_tmp, $_host_cache_dir)) // Deletions are atomic; restore original directory now.
    						return $counter; // Total files deleted by this routine.

    I do not know what will be the consequences.

    Plugin Author Raam Dev

    (@raamdev)

    This bug should has been fixed in the latest release (v141205). Please see https://wordpress.org/plugins/quick-cache/changelog/

    Thank you for your patience while I was getting this fixed!

    Thread Starter Dave

    (@tlwh)

    Thanks for the update Raam, so far so good!

    It’s not fixed

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Errors since last update’ is closed to new replies.