• Resolved Nik Cirkle

    (@nikulv)


    Hello Support Team,

    I’m currently encountering the following deprecated warning in your plugin:

    unserialize(): Passing null to parameter #1 ($data) of type string is deprecated

    File: wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/storage/mysql.php
    Line: 327

    Could you please confirm if this is a known issue and advise on a fix or update?
    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support wfpeter

    (@wfpeter)

    Hi @nikulv, thanks for reaching out!

    I have seen some similar messages in the past related to incomplete installations, although the file affected was different to this case. It might still be worth deactivating and reactivating the plugin, which would force any missing tables/fields to be generated if there had been a problem with WordPress completing the installation originally.

    If that doesn’t resolve it, it might help our QA team identify whether anything needs addressing if they have a diagnostic report from your site. You can send that to wftest @ wordfence . com from the top of the Wordfence Tools > Diagnostics page. Click on “Send Report by Email”.

    Please add your forum username where indicated and respond here if you do send one as the inbox is unmonitored.

    Many thanks,
    Peter.

    Plugin Support wfpeter

    (@wfpeter)

    We’ve looked into this a little more @nikulv and it can happen when fetching values that don’t have a default, but it’s normally suppressed by @ in code. You must have a custom error handler that’s causing it to get logged, but we have scheduled a proposed fix for it in a future plugin version.

    We’re unable to follow-up on development requests here on the forums so we set topics to “resolved”. It is still an open request in our internal issue tracker, so will document alterations to future plugin versions in our changelog.

    Thanks again,
    Peter.

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.