l3rady/wordpress-file-monitor-plus — pull request #3 by l3rady (2013-08-20 16:17:29+00:00)
Title: implode errors on line 550 and line 570

Hello, I'm basically pasting what is over at wordpress.

php-fpm 5.3 wordpress 3.6 a couple of errors from this plugin on nginx 1.4 server. Running Centos 6.4
```
2013/08/15 12:37:39 [error] 2901#0: *493 FastCGI sent in stderr: "PHP message: PHP Warning: implode(): Invalid arguments passed in /home/releases/20130815035315/content/plugins/wordpress-file-monitor-plus/classes/wpfmp.settings.class.php on line 550" while reading upstream, request: "GET /wp-admin/options-general.php?page=wordpress-file-monitor-plus

2013/08/15 12:37:39 [error] 2901#0: *493 FastCGI sent in stderr: "PHP message: PHP Warning: implode(): Invalid arguments passed in /home/releases/20130815035315/content/plugins/wordpress-file-monitor-plus/classes/wpfmp.settings.class.php on line 570" while reading upstream, request: "GET /wp-admin/options-general.php?page=wordpress-file-monitor-plus HTTP/1.1",

2013/08/15 12:37:44 [error] 2901#0: *493 FastCGI sent in stderr: "PHP message: PHP Warning: array_map(): Argument #2 should be an array in /home/releases/20130815035315/content/plugins/wordpress-file-monitor-plus/classes/wpfmp.settings.class.php on line 420" while reading response header from upstream
```
Looks like line 420
```
$valid['file_check_method'] = array_map( array( __CLASS__, 'file_check_method_func' ), $input['file_check_method'] );
```
is called a couple of times and spits out a couple of errors.

Thought you should know. Looks like wordpress is clamping down on this and "prepare()"

This is how I (somehow) fixed errors on line 550 and 570.

Line 550
```
static public function sc_wpfmp_settings_main_exclude_paths_files()
{
// Tj fix
$options = array();
$options = get_option( sc_WordPressFileMonitorPlus::$settings_option_field );
?><?php echo implode("\n", $options['exclude_paths_files']); ?>" />