Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #83708
    Michael
    Guest

    These errors have been collected by error_get_last() within a shutdown method.
    Instead of solving the issue at hand, the functions at the lines referred to, have been attempted to be silenced by developers using the at sign (@).

    23-03-2023 17:15:05: Array
    (
        [type] => 2
        [message] => mkdir(): File exists
        [file] => [...]/wp-content/plugins/w3-total-cache/Util_File.php
        [line] => 65
    )
    
    23-03-2023 17:15:05: Array
    (
        [type] => 2
        [message] => mkdir(): File exists
        [file] => [...]/wp-content/plugins/w3-total-cache/Util_File.php
        [line] => 65
    )
    
    23-03-2023 17:15:05: Array
    (
        [type] => 2
        [message] => mkdir(): File exists
        [file] => [...]/wp-content/plugins/w3-total-cache/Util_File.php
        [line] => 65
    )
    
    23-03-2023 17:15:05: Array
    (
        [type] => 2
        [message] => mkdir(): File exists
        [file] => [...]/wp-content/plugins/w3-total-cache/Util_File.php
        [line] => 65
    )
    
    23-03-2023 17:29:04: Array
    (
        [type] => 2
        [message] => mkdir(): File exists
        [file] => [...]/wp-content/plugins/w3-total-cache/Util_File.php
        [line] => 65
    )
    
    23-03-2023 17:44:28: Array
    (
        [type] => 2
        [message] => mkdir(): File exists
        [file] => [...]/wp-content/plugins/w3-total-cache/Util_File.php
        [line] => 65
    )
    
    23-03-2023 17:44:30: Array
    (
        [type] => 2
        [message] => mkdir(): File exists
        [file] => [...]/wp-content/plugins/w3-total-cache/Util_File.php
        [line] => 65
    )
    
    23-03-2023 17:46:55: Array
    (
        [type] => 2
        [message] => mkdir(): File exists
        [file] => [...]/wp-content/plugins/w3-total-cache/Util_File.php
        [line] => 65
    )
    
    23-03-2023 17:46:57: Array
    (
        [type] => 2
        [message] => mkdir(): File exists
        [file] => [...]/wp-content/plugins/w3-total-cache/Util_File.php
        [line] => 65
    )
    
    23-03-2023 17:48:44: Array
    (
        [type] => 2
        [message] => mkdir(): File exists
        [file] => [...]/wp-content/plugins/w3-total-cache/Util_File.php
        [line] => 65
    )
    
    23-03-2023 17:48:47: Array
    (
        [type] => 2
        [message] => mkdir(): File exists
        [file] => [...]/wp-content/plugins/w3-total-cache/Util_File.php
        [line] => 65
    )
    
    23-03-2023 17:59:28: Array
    (
        [type] => 2
        [message] => unpack(): Type L: not enough input, need 4, have 0
        [file] => [...]/wp-content/plugins/w3-total-cache/Cache_File.php
        [line] => 170
    )
    
    23-03-2023 17:59:38: Array
    (
        [type] => 2
        [message] => mkdir(): File exists
        [file] => [...]/wp-content/plugins/w3-total-cache/Util_File.php
        [line] => 65
    )
    
    23-03-2023 17:59:41: Array
    (
        [type] => 2
        [message] => mkdir(): File exists
        [file] => [...]/wp-content/plugins/w3-total-cache/Util_File.php
        [line] => 65
    )
    
    23-03-2023 17:59:43: Array
    (
        [type] => 2
        [message] => mkdir(): File exists
        [file] => [...]/wp-content/plugins/w3-total-cache/Util_File.php
        [line] => 65
    )
    
    23-03-2023 18:08:48: Array
    (
        [type] => 2
        [message] => mkdir(): File exists
        [file] => [...]/wp-content/plugins/w3-total-cache/Util_File.php
        [line] => 65
    )
    
    23-03-2023 18:08:48: Array
    (
        [type] => 2
        [message] => mkdir(): File exists
        [file] => [...]/wp-content/plugins/w3-total-cache/Util_File.php
        [line] => 65
    )
    
    23-03-2023 18:10:18: Array
    (
        [type] => 2
        [message] => unpack(): Type L: not enough input, need 4, have 0
        [file] => [...]/wp-content/plugins/w3-total-cache/Cache_File.php
        [line] => 170
    )
    
    23-03-2023 18:10:19: Array
    (
        [type] => 2
        [message] => unpack(): Type L: not enough input, need 4, have 0
        [file] => [...]/wp-content/plugins/w3-total-cache/Cache_File.php
        [line] => 170
    )
    
    23-03-2023 18:14:07: Array
    (
        [type] => 2
        [message] => mkdir(): File exists
        [file] => [...]/wp-content/plugins/w3-total-cache/Util_File.php
        [line] => 65
    )
    
    23-03-2023 18:14:12: Array
    (
        [type] => 2
        [message] => mkdir(): File exists
        [file] => [...]/wp-content/plugins/w3-total-cache/Util_File.php
        [line] => 65
    )
    
    23-03-2023 18:22:04: Array
    (
        [type] => 2
        [message] => mkdir(): File exists
        [file] => [...]/wp-content/plugins/w3-total-cache/Util_File.php
        [line] => 65
    )
    
    23-03-2023 18:22:04: Array
    (
        [type] => 2
        [message] => mkdir(): File exists
        [file] => [...]/wp-content/plugins/w3-total-cache/Util_File.php
        [line] => 65
    )
    
    23-03-2023 18:59:44: Array
    (
        [type] => 2
        [message] => mkdir(): File exists
        [file] => [...]/wp-content/plugins/w3-total-cache/Util_File.php
        [line] => 65
    )
    
    23-03-2023 18:59:45: Array
    (
        [type] => 2
        [message] => mkdir(): File exists
        [file] => [...]/wp-content/plugins/w3-total-cache/Util_File.php
        [line] => 65
    )
    
    23-03-2023 18:59:51: Array
    (
        [type] => 2
        [message] => mkdir(): File exists
        [file] => [...]/wp-content/plugins/w3-total-cache/Util_File.php
        [line] => 65
    )
    
    23-03-2023 18:59:51: Array
    (
        [type] => 2
        [message] => mkdir(): File exists
        [file] => [...]/wp-content/plugins/w3-total-cache/Util_File.php
        [line] => 65
    )
    
    23-03-2023 19:03:47: Array
    (
        [type] => 2
        [message] => mkdir(): File exists
        [file] => [...]/wp-content/plugins/w3-total-cache/Util_File.php
        [line] => 65
    )
    
    23-03-2023 19:03:49: Array
    (
        [type] => 2
        [message] => unpack(): Type L: not enough input, need 4, have 0
        [file] => [...]/wp-content/plugins/w3-total-cache/Cache_File.php
        [line] => 170
    )
    
    23-03-2023 19:08:02: Array
    (
        [type] => 2
        [message] => mkdir(): File exists
        [file] => [...]/wp-content/plugins/w3-total-cache/Util_File.php
        [line] => 65
    )
    
    23-03-2023 19:11:23: Array
    (
        [type] => 2
        [message] => mkdir(): File exists
        [file] => [...]/wp-content/plugins/w3-total-cache/Util_File.php
        [line] => 65
    )
    
    23-03-2023 19:11:24: Array
    (
        [type] => 2
        [message] => mkdir(): File exists
        [file] => [...]/wp-content/plugins/w3-total-cache/Util_File.php
        [line] => 65
    )
    
    23-03-2023 19:11:24: Array
    (
        [type] => 2
        [message] => mkdir(): File exists
        [file] => [...]/wp-content/plugins/w3-total-cache/Util_File.php
        [line] => 65
    )
    
    23-03-2023 19:11:27: Array
    (
        [type] => 2
        [message] => mkdir(): File exists
        [file] => [...]/wp-content/plugins/w3-total-cache/Util_File.php
        [line] => 65
    )
    
    23-03-2023 19:17:05: Array
    (
        [type] => 2
        [message] => mkdir(): File exists
        [file] => [...]/wp-content/plugins/w3-total-cache/Util_File.php
        [line] => 65
    )
    
    23-03-2023 19:34:31: Array
    (
        [type] => 2
        [message] => mkdir(): File exists
        [file] => [...]/wp-content/plugins/w3-total-cache/Util_File.php
        [line] => 65
    )
    
    23-03-2023 19:34:31: Array
    (
        [type] => 2
        [message] => mkdir(): File exists
        [file] => [...]/wp-content/plugins/w3-total-cache/Util_File.php
        [line] => 65
    )
    
    
    #83776
    Marko Vasiljevic
    Keymaster

    Hello Michael,

    Thank you for reaching out and I am happy to assist you with this.
    This is not a bug, it’s a feature! 🙂
    In W3 Total Cache, all silencers are there by intent.
    For example, unlinks may try to remove the already removed file by another thread 1ms ago.
    Removing will cause more harm to runtime operations than profit. This is also the case for mkdir.

    Also, any deeper checks in that critical place will affect performance.
    No simple solution here, however, it makes sense of course that you reported this.

    Thanks!

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Bug in Util_File.php and Cache_File.php’ is closed to new replies.