Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi Ian,

    As I mentioned in the other topic, rmdir is only supposed to run when the folder is empty.

    Could you share the output you get? It would be great if it includes a stack trace.

    Thanks,
    Marc.

    Thread Starter ianwijma

    (@ianwijma)

    Hey Marc,

    My bad, here is the output from the task runner. I will get a full stack trace in the mean while.

    `

    
    [2020-08-28T10:51:22.138494+02:00] 
    ConsoleRunner.ERROR: 
    PHP Warning: rmdir(/<redacted>/wp-content/cache/wpo-cache/www.<redacted>/): 
    Directory not empty in /<redacted>/wp-content/plugins/wp-optimize/cache/file-based-page-cache-functions.php on line 821 
    {"command":"/usr/local/php72/bin/php72 /<redacted>/wp-content/plugins/storekeeper-woocommerce-b2c/scripts/run-command-from-input.php","input":"{\"name\":\"process-single-task\",\"arguments\":[\"<redacted>\"],\"assoc_arguments\":[]}","pid":<redacted>} []
    

    Hello, I have the same issue on one of my sites:

    
    [Fri Feb 26 12:06:31.099266 2021] [proxy_fcgi:error] [pid 88901:tid 140343483721472] [client 86.201.188.131:0] AH01071: Got error 'PHP message: PHP Warning:  rmdir(<redacted>/public_html/wp-content/cache/wpo-cache/<redacted>): Directory not empty in /<redacted>/public_html/wp-content/plugins/wp-optimize/cache/file-based-page-cache-functions.php on line 835PHP message: PHP Warning:  rmdir(<redacted>/public_html/wp-content/cache/wpo-cache/<redacted>): Directory not empty in <redacted>/wp-content/plugins/wp-optimize/cache/file-based-page-cache-functions.php on line 835PHP message: PHP Warning:  rmdir(<redacted>/public_html/wp-content/cache/wpo-cache/<redacted>): Directory not empty in /<redacted>/public_html/wp-content/plugins/wp-optimize/cache/file-based-page-cache-functions.php on line 835PHP message: PHP Warning:  rmdir(/<redacted>/public_html/wp-content/cache/wpo-cache): Directory not empty in /<redacted>/public_html/wp-content/plugins/wp-optimize/cache/file-based-page-cache-functions.php on line 835', referer: <redacted>/wp-admin/plugins.php
    

    Does someone have any guidance on how to solve this?
    Thank you.

    • This reply was modified 3 years, 9 months ago by Francesco.
    • This reply was modified 3 years, 9 months ago by Francesco.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘rmdir is throwing errors’ is closed to new replies.