Title: PHP warning during update
Last modified: June 3, 2018

---

# PHP warning during update

 *  Resolved [iamjanco](https://wordpress.org/support/users/iamjanco/)
 * (@iamjanco)
 * [7 years, 12 months ago](https://wordpress.org/support/topic/php-warning-during-update/)
 * Just tested the latest update (1.3.9) on our WPengine staging area and getting
   three errors that repeat themselves quite a few number of times, all the same
   PID. PHP in use is v7.0.x, latest Core, everything else is current:
 * PHP Warning: explode() expects parameter 2 to be string, array given in /nas/
   content/staging/texasfinaldriv/wp-content/plugins/woocommerce-xml-csv-product-
   import/plugin.php on line 266, referer: [http://texasfinaldriv.staging.wpengine.com/wp-admin/plugins.php](http://texasfinaldriv.staging.wpengine.com/wp-admin/plugins.php)
   
   PHP Warning: in_array() expects parameter 2 to be array, null given in /nas/content/
   staging/texasfinaldriv/wp-content/plugins/woocommerce-xml-csv-product-import/
   plugin.php on line 267, referer: [http://texasfinaldriv.staging.wpengine.com/wp-admin/plugins.php](http://texasfinaldriv.staging.wpengine.com/wp-admin/plugins.php)
   PHP Warning: in_array() expects parameter 2 to be array, null given in /nas/content/
   staging/texasfinaldriv/wp-content/plugins/woocommerce-xml-csv-product-import/
   plugin.php on line 270, referer: [http://texasfinaldriv.staging.wpengine.com/wp-admin/plugins.php](http://texasfinaldriv.staging.wpengine.com/wp-admin/plugins.php)
 * Any ideas?

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

 *  Plugin Author [WP All Import](https://wordpress.org/support/users/wpallimport/)
 * (@wpallimport)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/php-warning-during-update/#post-10370823)
 * Hi [@iamjanco](https://wordpress.org/support/users/iamjanco/)
 * We’ll need to have a look on your site in order to understand why this PHP warning
   is happening. Please open a ticket with more details on the issue at [http://www.wpallimport.com/support/](http://www.wpallimport.com/support/).
 *  Thread Starter [iamjanco](https://wordpress.org/support/users/iamjanco/)
 * (@iamjanco)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/php-warning-during-update/#post-10374826)
 * After performing additional updates that have been released since this ticket
   was submitted, the PHP compatibility issue appears to be fixed. Fyi, the plugin
   used to test the PHP was the [PHP Compatibility Checker by WPengine](https://wordpress.org/plugins/php-compatibility-checker/).
 * Thanks for the response, but no further help is needed at this time.
    -  This reply was modified 7 years, 11 months ago by [iamjanco](https://wordpress.org/support/users/iamjanco/).
      Reason: spell check, added link

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

The topic ‘PHP warning during update’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-xml-csv-product-import/assets/icon-256x256.png?
   rev=2570167)
 * [WP All Import – Product Import for WooCommerce](https://wordpress.org/plugins/woocommerce-xml-csv-product-import/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-xml-csv-product-import/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-xml-csv-product-import/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-xml-csv-product-import/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-xml-csv-product-import/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-xml-csv-product-import/reviews/)

## Tags

 * [PHP Warning](https://wordpress.org/support/topic-tag/php-warning/)
 * [update](https://wordpress.org/support/topic-tag/update/)
 * [woocommerce import](https://wordpress.org/support/topic-tag/woocommerce-import/)

 * 2 replies
 * 2 participants
 * Last reply from: [iamjanco](https://wordpress.org/support/users/iamjanco/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/php-warning-during-update/#post-10374826)
 * Status: resolved