Title: Bug Report: WP Autosearch error in wp-cli post command
Last modified: February 9, 2018

---

# Bug Report: WP Autosearch error in wp-cli post command

 *  [daleaffinity](https://wordpress.org/support/users/daleaffinity/)
 * (@daleaffinity)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/bug-report-wp-autosearch-error-in-wp-cli-post-command/)
 * Hopefully this is where bug reports are submitted.
 * Encountered the following error using `wp-cli post` command with WP Autosearch
   plugin Version 1.0.3 installed:
 * $ wp post list
    PHP Fatal error: Call to a member function array_to_object() 
   on null in […]/public_html/wp-content/plugins/wp-autosearch/functions.php on 
   line 88 Fatal error: Call to a member function array_to_object() on null in […]/
   public_html/wp-content/plugins/wp-autosearch/functions.php on line 88
 * Other wp-cli commands such as plugin and db work fine.

The topic ‘Bug Report: WP Autosearch error in wp-cli post command’ is closed to 
new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-autosearch_198ac0.svg)
 * [WP AutoComplete Search](https://wordpress.org/plugins/wp-autosearch/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-autosearch/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-autosearch/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-autosearch/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-autosearch/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [daleaffinity](https://wordpress.org/support/users/daleaffinity/)
 * Last activity: [8 years, 4 months ago](https://wordpress.org/support/topic/bug-report-wp-autosearch-error-in-wp-cli-post-command/)
 * Status: not resolved