• Resolved vasko_t

    (@vasko_t)


    Hello,

    I got a PHP warning while updating the settings of Sucuri. Particularly, I did 2 things one after the other. First, I removed the recipient email for alerts. This was fine. Then I wanted to disable all alerts under Post-Type Alerts. I deselected them all and right after clicking the Submit button, I got this message:

    Warning: in_array() expects parameter 2 to be array, boolean given in /<path>/wp-content/plugins/sucuri-scanner/src/settings-alerts.php on line 570

    probably as many times as there are checkboxes in the Post-Type Alerts section. The action seems to work, all of the checkboxes are deselected after submission, but the warnings appear.

    Just wanted to report this issue, hopefully it will get fixed in the next release.

    Keep up the good work!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘PHP Warning generated when saving settings’ is closed to new replies.