Page 1 of 1

eorror in IP Reputation > BMS panel

Posted: Sun Jul 05, 2020 8:31 am
by snowymountain
Hi I get this error in the BMS panel in IP Reputation...

Warning: in_array() expects parameter 2 to be array, null given in /usr/share/magicspam/php/modules/bmsListsModule.php on line 275

Warning: in_array() expects parameter 2 to be array, null given in /usr/share/magicspam/php/modules/bmsListsModule.php on line 275

Warning: in_array() expects parameter 2 to be array, null given in /usr/share/magicspam/php/modules/bmsListsModule.php on line 275

Warning: in_array() expects parameter 2 to be array, null given in /usr/share/magicspam/php/modules/bmsListsModule.php on line 275

Warning: in_array() expects parameter 2 to be array, null given in /usr/share/magicspam/php/modules/bmsListsModule.php on line 275

Re: eorror in IP Reputation > BMS panel

Posted: Mon Jul 06, 2020 2:17 pm
by magicspam
Hello snowymountain,

Thank you for your post.

Our development team is aware of the PHP warnings displayed in the IP Reputation page on the MagicSpam interface in the latest release (2.1-9.1). The PHP warnings does not affect the functionality of the IP Reputation page and can be safely ignored for now.

Our development team is currently working on an update to address the PHP warnings. The update will be made available in a future release of MagicSpam.

In the meantime, you may silence the PHP warnings by logging in as the 'root' user on your server and running the following command:

echo '$recommended_bms_flag = array();' >> /usr/share/magicspam/php/includes/config.php

We hope this information helps.