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 );
            ?><textarea name="<?php echo sc_WordPressFileMonitorPlus::$settings_option_field ?>[exclude_paths_files]" cols="60" rows="8"><?php echo implode("\n", $options['exclude_paths_files']); ?></textarea><?php
        }
```
line 570

```
        static public function sc_wpfmp_settings_main_field_file_extensions()
        {
        	// Tj fix
			$options = array();
            $options = get_option( sc_WordPressFileMonitorPlus::$settings_option_field );
            ?><input class="regular-text" name="<?php echo sc_WordPressFileMonitorPlus::$settings_option_field ?>[file_extensions]" value="<?php echo implode($options['file_extensions'], "|" ); ?>" /> <span class="description"><?php _e( "Separate extensions with | character.", "wordpress-file-monitor-plus" ); ?></span><?php
        }
```

Again, just copying from wordpress,

I added $options = array() in each function block and actually put some values in the fields i.e. checked the checkboxes (I hadn't setup the plugin yet and was watching my terminal for errors) and added ico|jpg|etc to the values textarea (even though the check for them was off) and it seems to have fixed things.

Perhaps because it needed something to "array" so maybe a check to see if fields are empty before calling etc.

(No more errors) but I didn't test to see what action actually fixed it.

Thanks for the plugin and your time


Hope you can replicate and fix.

Thanks again and looking for update on plugin.