ninnypants / search-everything-wordpress-plugin

Better WordPress search in three steps Activate Configure options Search ( maybe that's only two steps ) Options include search highlight, searching pages, excerpts, attachments, drafts, comments and custom fields (metadata).
http://wordpress.org/extend/plugins/search-everything/
6 stars 1 forks source link

Cannot use object of type WP_Error as array in #9

Open thommeredith opened 5 years ago

thommeredith commented 5 years ago

Error Details ============= An error of type E_ERROR was caused in line 927 of the file /srv/www/example.com/releases/20190520190553/web/app/plugins/search-everything/search-everything.php. Error message: Uncaught Error: Cannot use object of type WP_Error as array in /srv/www/example.com/releases/20190520190553/web/app/plugins/search-everything/search-everything.php:927 Stack trace: #0 /srv/www/example.com/releases/20190520190553/web/wp/wp-includes/class-wp-hook.php(288): se_post_publish_ping(5502) #1 /srv/www/example.com/releases/20190520190553/web/wp/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #2 /srv/www/example.com/releases/20190520190553/web/wp/wp-includes/plugin.php(465): WP_Hook->do_action(Array) #3 /srv/www/example.com/releases/20190520190553/web/wp/wp-includes/post.php(4479): do_action('publish_post', 5502, Object(WP_Post)) #4 /srv/www/example.com/releases/20190520190553/web/wp/wp-includes/post.php(3852): wp_transition_post_status('publish', ‘draft’, Object(WP_Post)) #5 /srv/www/example.com/releases/20190520190553/web/wp/wp-includes/post.php(4028): wp_insert_post(Array, false) #6 /srv/www/example.com/releases/201905201