Viewing 15 replies - 1 through 15 (of 20 total)
  • @blackdeth73 Please use following snippet and add it to your active child themes functions.php file, it will automatically delete the minified files after 3 days

    add_filter( 'wp_optimize_minify_cache_expiry_time', function( $original_value ) {
    return time() - 86400 * 3;
    } );
    Thread Starter blackdeth73

    (@blackdeth73)

    @bornforphp Thanks for your reply.
    Please check the error log as well.

    [19-Dec-2021 19:31:07 UTC] PHP Warning:  unlink(/wp-content/cache/wpo-minify/tmp/css-42f121b3.css.transient): No such file or directory in /wp-content/plugins/wp-optimize/cache/file-based-page-cache-functions.php on line 868
    [19-Dec-2021 19:31:07 UTC] PHP Warning:  unlink(/wp-content/cache/wpo-minify/tmp/js-eff420b7.js.transient): No such file or directory in /wp-content/plugins/wp-optimize/cache/file-based-page-cache-functions.php on line 868
    [19-Dec-2021 19:31:07 UTC] PHP Warning:  unlink(/wp-content/cache/wpo-minify/tmp/js-fd7720e1.js.transient): No such file or directory in /wp-content/plugins/wp-optimize/cache/file-based-page-cache-functions.php on line 868
    [19-Dec-2021 19:31:07 UTC] PHP Warning:  unlink(/wp-content/cache/wpo-minify/tmp/js-f06120ba.js.transient): No such file or directory in /wp-content/plugins/wp-optimize/cache/file-based-page-cache-functions.php on line 868
    [19-Dec-2021 19:31:07 UTC] PHP Warning:  unlink(/wp-content/cache/wpo-minify/tmp/css-40522a7e.css.transient): No such file or directory in /wp-content/plugins/wp-optimize/cache/file-based-page-cache-functions.php on line 868
    [19-Dec-2021 22:13:07 UTC] PHP Warning:  rmdir(/wp-content/cache/wpo-minify/tmp): Directory not empty in /wp-content/plugins/wp-optimize/cache/file-based-page-cache-functions.php on line 903
    [19-Dec-2021 22:48:35 UTC] PHP Warning:  rmdir(/wp-content/cache/wpo-minify/tmp): Directory not empty in /wp-content/plugins/wp-optimize/cache/file-based-page-cache-functions.php on line 903
    [20-Dec-2021 05:24:12 UTC] PHP Warning:  unlink(/wp-content/cache/wpo-cache/bizmark.co.kr/issue/%EC%9E%A0%EC%9D%B4-%EB%A7%8E%EC%9D%80-%EB%82%A8%EC%9E%90%EC%99%80-%EC%9D%B4%ED%98%BC%ED%95%A9%EB%8B%88%EB%8B%A4/index.html.gz): No such file or directory in /wp-content/plugins/wp-optimize/cache/file-based-page-cache-functions.php on line 848
    • This reply was modified 2 years, 10 months ago by blackdeth73.

    @blackdeth73 These are warnings, it will not stop the functionality of the plugin, you can ignore these warnings.

    However, I’ll share the same with our development team for further investigation.

    Thread Starter blackdeth73

    (@blackdeth73)

    @bornforphp I applied the code and tried checking after 3 days but it didn’t solve the problem. More than 10G of minify cache are accumulating per day.
    I am attaching a screenshot, please check

    I applied the code and tried checking after 3 days but it didn’t solve the problem.
    I am attaching a screenshot, please check

    https://paste.pics/2fef5f8dc17a9b33bcbe88aeb50a7d95

    @blackdeth73 Have you performed a conflict test yet?

    Try deactivating all plugins except for WP-Optimize and see if it is resolved.

    If so, reactivate each plugin one at a time until you find the culprit. You can check for the issue between activating each plugin, so you can see which one is causing problems.

    Please let us know your findings.

    Thread Starter blackdeth73

    (@blackdeth73)

    @bornforphp The problem is that the capacity of the file may exceed the capacity of the web hosting because the capacity of the file is accumulated too much.
    The problem is that the minifi file is not deleted, but do you want to do a plug-in crash test?

    @blackdeth73 First manually delete the cache folder inside wp-content folder and then perform the conflict test with adding the snippet I’ve shared with you earlier.

    Thread Starter blackdeth73

    (@blackdeth73)

    @bornforphp First, I applied the shared snippet to the child theme. The site is normal, but the size of the mini-file is over 40 gigabytes. please check screenshot

    https://paste.pics/2fef5f8dc17a9b33bcbe88aeb50a7d95

    @blackdeth73 I suspect the snippet is not running due to conflict with some other plugin, that’s why I asked you to run conflict test.

    Please run the conflict test and check if the minified files gets deleted.

    You can reduce the duration to 1 day

    add_filter( 'wp_optimize_minify_cache_expiry_time', function( $original_value ) {
    return time() - 86400 * 1;
    } );
    Thread Starter blackdeth73

    (@blackdeth73)

    @bornforphp Thank you for your kind reply. I’ll check it out and let you know the results.

    @blackdeth73 Sure thing do let us know how it goes?

    Thread Starter blackdeth73

    (@blackdeth73)

    @bornforphp I’ve applied the snippet now and I’ll let you know the results in 2 days. thanks for help

    Hello, I have the exact same problem.

    @alexliam Please try to add the following filter to your child theme’s functions.php file

    add_filter( 'wp_optimize_minify_cache_expiry_time', function( $original_value ) {
    return time() - 86400 * 1;
    } );
Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘The website is running out of space because of “minify”.’ is closed to new replies.