Argument #2 should be an array
-
Hi, and thanks for the plugin.
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()”
Hope you can replicate and fix.
Thanks again and looking for update on plugin.
https://www.ads-software.com/plugins/wordpress-file-monitor-plus/
- The topic ‘Argument #2 should be an array’ is closed to new replies.