Title: Export error ,expects parameter 2 to be array
Last modified: August 30, 2017

---

# Export error ,expects parameter 2 to be array

 *  Resolved [Lalit Nagrath](https://wordpress.org/support/users/laliz/)
 * (@laliz)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/export-error-expects-parameter-2-to-be-array/)
 * when i click Migrate Products, page reload and this error is all over the place
 * Warning: in_array() expects parameter 2 to be array, string given in /home/Website/
   public_html/wp-content/plugins/wp-all-export/libraries/XmlCsvExport.php on line
   751
 * is there a fix for this?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [WP All Import](https://wordpress.org/support/users/wpallimport/)
 * (@wpallimport)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/export-error-expects-parameter-2-to-be-array/#post-9457368)
 * Hi [@laliz](https://wordpress.org/support/users/laliz/),
 * We weren’t able to reproduce the error, but we think we can see how it is happening.
   Here’s a version of WP All Export with a potential fix: [https://dl.dropboxusercontent.com/u/13006294/wp-all-export_1.1.4.zip](https://dl.dropboxusercontent.com/u/13006294/wp-all-export_1.1.4.zip)
 * If this does not solve the problem for you, please recreate your problem on a
   testing install: [http://www.wpallimport.com/debug/](http://www.wpallimport.com/debug/)
 * Then, submit a support request and send us the login credentials for your install:
   [http://www.wpallimport.com/support/](http://www.wpallimport.com/support/)
 * Thank you!
 *  Thread Starter [Lalit Nagrath](https://wordpress.org/support/users/laliz/)
 * (@laliz)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/export-error-expects-parameter-2-to-be-array/#post-9457445)
 * I tried the dropbox version, now page just redirect back to same screen.
 * tried the plugin on three website it didnt worked on two .
 *  Plugin Author [WP All Import](https://wordpress.org/support/users/wpallimport/)
 * (@wpallimport)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/export-error-expects-parameter-2-to-be-array/#post-9463913)
 * Hi [@laliz](https://wordpress.org/support/users/laliz/),
 * Please submit a support request: [http://www.wpallimport.com/support/](http://www.wpallimport.com/support/)

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Export error ,expects parameter 2 to be array’ is closed to new replies.

 * ![](https://ps.w.org/wp-all-export/assets/icon-256x256.png?rev=2570162)
 * [WP All Export – Drag & Drop Export to Any Custom CSV, XML & Excel](https://wordpress.org/plugins/wp-all-export/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-all-export/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-all-export/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-all-export/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-all-export/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-all-export/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [WP All Import](https://wordpress.org/support/users/wpallimport/)
 * Last activity: [8 years, 9 months ago](https://wordpress.org/support/topic/export-error-expects-parameter-2-to-be-array/#post-9463913)
 * Status: resolved