Title: Error processing Merchant Center export
Last modified: October 5, 2023

---

# Error processing Merchant Center export

 *  Resolved [michelt3](https://wordpress.org/support/users/michelt3/)
 * (@michelt3)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/error-processing-merchant-center-export/)
 * We have a critical error processing the Google Merchant Export trough cron:
   /
   wp-load.php?export_key=xxxxx&export_id=1&action=processing/wp-load.php?export_key
   =xxxxx&export_id=2&action=processing/wp-load.php?export_key=xxxxx&export_id=3&
   action=processing/wp-load.php?export_key=xxxxx&export_id=4&action=processingThe
   Query table contains no error and shows:Post Types: product, product_variationDownloading
   of the txt file works fine and contains alle the products.
 * **Versions**
   WordPress version 6.3.1Active Theme: Hello Elementor (version 2.8.1)
   Current plugin: WP All Export Pro (version 1.8.5)PHP version 8.2.9**Error given:**
   An error of type E_ERROR occurred on line number 61 of the file …/public_html/
   wp-content/plugins/wp-all-export-pro/libraries/XmlExportCpt.php. Error message:
   Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array,
   null given in …/public_html/wp-content/plugins/wp-all-export-pro/libraries/XmlExportCpt.
   php:61**Actions taken:**Remade an blank/new export -> Same errorChanged to default
   theme -> Same errorDisabled plugins -> Same errorDowngraded PHP 8.1 -> Same errorIt
   worked fine, no issues and it Just started reporting critical errorsAny Ideas
   of is this a known issue?

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

 *  Plugin Author [WP All Import](https://wordpress.org/support/users/wpallimport/)
 * (@wpallimport)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/error-processing-merchant-center-export/#post-17103389)
 * Hey [@michelt3](https://wordpress.org/support/users/michelt3/),
 * Exporting to Google Merchant Center is a pro-only feature, so you’ll need to 
   contact us at [http://www.wpallimport.com/support/](http://www.wpallimport.com/support/)
   about this issue. We can only help with our free plugins in this forum.
    -  This reply was modified 2 years, 8 months ago by [WP All Import](https://wordpress.org/support/users/wpallimport/).
 *  [corstojamescrabb](https://wordpress.org/support/users/corstojamescrabb/)
 * (@corstojamescrabb)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/error-processing-merchant-center-export/#post-17110842)
 * Same issue here, Support ticket submitted waiting for reply there. Exactly the
   same error line 61 of XMLExportcpt.php

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

The topic ‘Error processing Merchant Center export’ 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/)

## Tags

 * [cron](https://wordpress.org/support/topic-tag/cron/)
 * [export](https://wordpress.org/support/topic-tag/export/)
 * [merchant](https://wordpress.org/support/topic-tag/merchant/)

 * 2 replies
 * 3 participants
 * Last reply from: [corstojamescrabb](https://wordpress.org/support/users/corstojamescrabb/)
 * Last activity: [2 years, 8 months ago](https://wordpress.org/support/topic/error-processing-merchant-center-export/#post-17110842)
 * Status: resolved