PHP Fatal: Cannot use object of type WP_Error as array
-
Hi,
A manual “Run All” scan loads forever, is never completed and I am getting a PHP fatal. It seems to crash on the new XML-RPC security check? I am on plugin version 1.13.
P.s. my error log seems to include a duplicate stack trace. I included both of ‘m to be sure:
Fatal error: Uncaught Error: Cannot use object of type WP_Error as array in /wp-content/plugins/wpscan/security-checks/xmlrpc-enabled/check.php:74
Stack trace:
#0 /wp-content/plugins/wpscan/app/Plugin.php(501): WPScan\Checks\xmlrpcEnabled->perform() #1 /wp-content/plugins/wpscan/app/Plugin.php(457): WPScan\Plugin->verify() #2 /wp-content/plugins/wpscan/app/Summary.php(142): WPScan\Plugin->check_now() #3 /wp-includes/class-wp-hook.php(287): WPScan\Summary->ajax_check_now('') #4 /wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters('', Array) #5 /wp-includes/plugin.php(478): WP_Hook->do_action(Array) #6 /wp-admin/admin-ajax.php(176): do_action('wp_ajax_wpscan_...') #7 {main} thr in /wp-content/plugins/wpscan/security-checks/xmlrpc-enabled/check.php on line 74
Stack Trace
1. {anonymous}() /wp-content/plugins/wpscan/security-checks/xmlrpc-enabled/check.php:74 2. WPScan\Checks\xmlrpcEnabled->perform() /wp-content/plugins/wpscan/app/Plugin.php:501 3. WPScan\Plugin->verify() /wp-content/plugins/wpscan/app/Plugin.php:457 4. WPScan\Plugin->check_now() /wp-content/plugins/wpscan/app/Summary.php:142 5. WPScan\Summary->ajax_check_now('') /wp-includes/class-wp-hook.php:287 6. WP_Hook->apply_filters('', Array(1)) /wp-includes/class-wp-hook.php:311 7. WP_Hook->do_action(Array(1)) /wp-includes/plugin.php:478 8. do_action('wp_ajax_wpscan_check_now') /wp-admin/admin-ajax.php:176
Context
URL : /wp-admin/admin-ajax.php?_fs_blog_admin=true Referer : https://myawesomesite.com/wp-admin/admin.php?page=wpscan HTTP Method : POST HTTP Status : 200 ajaxAction : wpscan_check_now isSSL : Yes Current Filter : wp_ajax_wpscan_check_now Execution Time : 9.266 s Memory Usage : 28.06 MiB PHP SAPI : fpm-fcgi
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘PHP Fatal: Cannot use object of type WP_Error as array’ is closed to new replies.