Plugin Author
AITpro
(@aitpro)
Notice php errors are basically reporting that there could be a potential bug or coding correction that needs to be made. In this case a minor coding correction needs to be made. Thanks for pointing it out. I will take care of it ASAP.
If you want to suppress the php error for now just add an @ symbol as shown below.
Code Line 109 – /bulletproof-security.php
$response = @unserialize($raw_response['body']);
Warning & Fatal php errors on the other hand are serious php errors that need to be taken care of ASAP.
Thanks for the Kudos. 🙂
Plugin Author
AITpro
(@aitpro)
Hmm interesting. I checked with Debug on and am not getting the error and the code looks fine to me so this must be related to a connectivity issue. ie the connection to the AITpro API Server dropped out/or hiccuped/or the MySQL DB Query hiccuped during the Cron check for an upgrade to BPS Pro. Basically the reponse came back as empty so there was nothing to unserialize.
But i did find these 2 nick nack things that need to be corrected. Oops. variables, variables – dot your I’s and cross your T’s LOL. 😉 These are syntax minor issues and will not cause any problems. Just nick nacks that I just fixed. 😉
[28-Sep-2012 00:31:43 UTC] PHP Notice: Undefined index: SUHOSIN_PATCH in C:\xampp2\xxxxxxx\xxxxxxxxxx\wp-content\plugins\bulletproof-security\admin\options.php on line 1587
[28-Sep-2012 00:32:22 UTC] PHP Notice: Undefined variable: filename in C:\xampp2\xxxxxxx\xxxxxxxxxx\wp-content\plugins\bulletproof-security\admin\quarantine\quarantine.php on line 153
Yep. I get lots of PHP notices from various plug-ins. This one was more of an annoyance since it threw off the plug-in tab screen. Thanks for the review and keep up the good work!
Plugin Author
AITpro
(@aitpro)
Is the error still occurring or was it a one time or intermittent error?
It is still occurring but intermittent. Happened again this morning but I cannot recreate it at the moment (of course :-).
Plugin Author
AITpro
(@aitpro)
Yep definitely a connectivity issue. Ok i will first recheck that the API Server is happy and humming along as usual and then look into the optimum solution to handle this scenario. Thanks again for pointing this issue out.
Plugin Author
AITpro
(@aitpro)
This minor intermittent WP Debug Notice php error will not be displayed in the next version release of BPS Pro. Resolving.
You are the best! Thanks for all the effort.