PHP Notice: unserialize(): Error in bulletproof-security.php

Home Forums BulletProof Security Pro PHP Notice: unserialize(): Error in bulletproof-security.php

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #35184
    Qtwix
    Participant

    Hi,

    I have several installations on various hosts protected with BPS Pro and Wordfence. In all the installations, every time if a Wordfence scan is performed, Wordfence reports the same unserialize error and I get the error also logged in the BPS Pro PHP error log like this:

    [31-Dec-2017 06:01:13 UTC] PHP Notice: unserialize(): Error at offset 0 of 15 bytes in /path/to/site/htdocs/wp-content/plugins/bulletproof-security/bulletproof-security.php on line 198

    Do you have an idea why I get these errors?

    Thanks

    #35187
    AITpro Admin
    Keymaster

    hmm that is very strange, but a PHP Notice error is insignificant so you can ignore the error for now.  We can suppress this PHP error in the next BPS Pro version so that the Wordfence scan does not cause this error.

    #35190
    Qtwix
    Participant

    Yes, I noticed that it’s just a notice and also there is no real issue about it. But as it appears with the scheduled scan once a day, it would be great if it could get suppressed, as it’s rather irrelevant.

    Thanks

    #35192
    AITpro Admin
    Keymaster

    Yep, will take care of this in the next BPS Pro version.

    #43917
    Matej
    Participant

    Hello,

    I seem to have same problem, and I have following notice:

    Notice: unserialize(): Error at offset 0 of 15 bytes in /var/www/430e982b-31a1-4dcf-9b4b-090bb3ded8d3/public_html/wp-content/plugins/bulletproof-security/bulletproof-security.php on line 237″

    #43918
    AITpro Admin
    Keymaster

    @ Matej – Do you have the most current version of BPS Pro installed > 17.4.  If not then install the latest version of BPS Pro.

    #43919
    Matej
    Participant

    Hey. Yes, I have. I have 17.4 installed.

    #43920
    AITpro Admin
    Keymaster

    @ Matej – What is the URL/link to the website?

    #43921
    Matej
    Participant
    #43922
    AITpro Admin
    Keymaster

    Looks like you have an nginix server with a LiteSpeed API. Looks like there may be an issue between the LiteSpeed cache plugin and JetPack Site Accelerator. It appears to be a very minor issue so nothing to worry about.  Other than that everything looks good so you can disregard the unserialize php error.  I assume what is occurring is that your combination of caching plugins/methods intermittently interferes with BPS Pro plugin upgrade checks to the api.ait-pro.com API server.  Nothing to worry about.

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.