• Resolved Bábelhal Support

    (@babelhalsupport)


    Dear Support Team,
    PHP: 8.3
    WordPress: 6.6.2
    Wordfence: 7.11.7
    PHP notice: Only variables should be passed by reference
    file: /wp-content/plugins/wordfence/lib/wfDiagnostic.php
    line: 358
    url: https://{domain}/wp-admin/admin-ajax.php
    referer: https://{domain}/wp-admin/admin.php?page=WordfenceTools&subpage=diagnostics
    action: I was sending a diagnostic email to you for another forum entry. ??

    Best regards,
    Balázs

Viewing 1 replies (of 1 total)
  • Plugin Support wfpeter

    (@wfpeter)

    Hi @babelhalsupport, thanks for providing the site diagnostic and necessary details.

    Similar to the topic you posted related to unlink(), the PHP notice is designed to be ignored. For the sake of anybody searching out this topic at a later date, I’ll quote what I said there:

    Errors such as this are often picked up in Query Monitor (or in this case your custom mu-plugin) for our intended silent failures. We sometimes utilize WordPress’ $wpdb->suppress_errors(true); function or PHP’s @ in situations we know an error may occur. These tools tend to ignore those whereas they’d normally not show to any customers or their site’s visitors.

    There’s no fixed amount of resources we know Wordfence will use on each customer’s server. Therefore, some non-critical situations where it’s more expensive on resources to retry or check for the presence of a file/record first, we simply choose to fail silently and continue.

    Many thanks again,
    Peter.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.