• Resolved Pratik Kumar

    (@pratikkry)


    PHP version: 7.4.13, WordPress version : 5.6

    [13-Dec-2020 16:26:06 UTC] PHP Warning:  fnmatch(): Filename exceeds the maximum allowed length of 4096 characters in /home/pratixoh/public_html/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/utils.php on line 601
    [13-Dec-2020 16:26:06 UTC] PHP Warning:  fnmatch(): Filename exceeds the maximum allowed length of 4096 characters in /home/pratixoh/public_html/wp-content/plugins/wordfence/models/block/wfBlock.php on line 1278
    [15-Dec-2020 02:47:37 UTC] PHP Warning:  fnmatch(): Filename exceeds the maximum allowed length of 4096 characters in /home/pratixoh/public_html/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/utils.php on line 601
    [15-Dec-2020 12:54:47 UTC] PHP Warning:  fnmatch(): Filename exceeds the maximum allowed length of 4096 characters in /home/pratixoh/public_html/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/utils.php on line 601
    [15-Dec-2020 16:15:05 UTC] PHP Warning:  fnmatch(): Filename exceeds the maximum allowed length of 4096 characters in /home/pratixoh/public_html/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/utils.php on line 601
    [15-Dec-2020 16:15:05 UTC] PHP Warning:  fnmatch(): Filename exceeds the maximum allowed length of 4096 characters in /home/pratixoh/public_html/wp-content/plugins/wordfence/models/block/wfBlock.php on line 1278
    [21-Dec-2020 11:46:11 UTC] PHP Warning:  fnmatch(): Filename exceeds the maximum allowed length of 4096 characters in /home/pratixoh/public_html/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/utils.php on line 601
    [23-Dec-2020 14:05:23 UTC] PHP Warning:  fnmatch(): Filename exceeds the maximum allowed length of 4096 characters in /home/pratixoh/public_html/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/utils.php on line 601
    [23-Dec-2020 15:10:39 UTC] PHP Warning:  fnmatch(): Filename exceeds the maximum allowed length of 4096 characters in /home/pratixoh/public_html/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/utils.php on line 601
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support wfpeter

    (@wfpeter)

    Hi @pratikkry, thanks for pasting those logs.

    As these are PHP warnings rather than fatal errors, it looks on the face of things to be scan or live traffic URL paths that are too long for the PHP function attempting to run them. It won’t be causing issues for you or your visitors but naturally it’s great to bring them to our attention.

    Do you have a particularly deep directory structure, or any unusually named files that you are aware of where the total path size may reach this huge size of 4096 characters?

    If you would like, you could send a diagnostic report to wftest @ wordfence . com. You can find the link to do so at the top of the Wordfence Tools > Diagnostics page. Then click on “Send Report by Email”. Please add your forum username where indicated and respond here after you have sent it.

    Note: For the fastest response time, please make sure and add any information or questions directly to this topic and not the email address above unless asked.

    Thanks,

    Peter.

    Thread Starter Pratik Kumar

    (@pratikkry)

    diagnostic report sent

    Plugin Support wfpeter

    (@wfpeter)

    Hi @pratikkry, thanks for sending that over.

    I am consulting with our developers to see if there are any suggestions as to why this function is getting sent more data than it can accept.

    In the mean time, are you able to view your PHP error logs and match up a specific and detailed error message from the dates/times shown in the warnings you pasted in your original post? If you can paste them here for me, that would be extremely helpful.

    These should detail the exact 4096+ length values attempting to be executed when the warning arises and help us with whether these can be prevented by you (perhaps changing server/PHP settings), or by Wordfence in future.

    Thanks,

    Peter.

    Plugin Support wfpeter

    (@wfpeter)

    Hi @pratikkry,

    Were you able to find any supporting PHP log information regarding this warning? It would be helpful for us to help suppress this warning in future versions of Wordfence.

    Thanks again,

    Peter.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘I am getting PHP warning in error log’ is closed to new replies.