Title: XLSX uploading returning PHP errors
Last modified: August 22, 2016

---

# XLSX uploading returning PHP errors

 *  Resolved [ottomaddox](https://wordpress.org/support/users/ottomaddox/)
 * (@ottomaddox)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/xlsx-uploading-returning-php-errors/)
 * Hi, just started using UPCP for an upcoming project. Configuration was going 
   great until I tried to upload an XLSX containing my products. I get five errors,
   one for each category title, from line 681 of the Update Admin Databases PHP 
   file in the plugin Functions directory.
 * The error reads:
 * `Warning: array_key_exists() expects parameter 2 to be array, null given in C:\
   wamp\www\stellarWP\wp-content\plugins\ultimate-product-catalogue\Functions\Update_Admin_Databases.
   php on line 681`
 * I also tried uploading the sample XLS file you provide on your website to no 
   avail. Same errors, one for each category.
 * I’m probably missing something obvious here. WP 4.0, WAMP virtual server, no 
   other similar bugs.
 * Thanks so much for yr help!
 * [https://wordpress.org/plugins/ultimate-product-catalogue/](https://wordpress.org/plugins/ultimate-product-catalogue/)

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

 *  Plugin Author [Rustaurius](https://wordpress.org/support/users/rustaurius/)
 * (@rustaurius)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/xlsx-uploading-returning-php-errors/#post-5468560)
 * Hi Otto,
 * Would you be able to send your sheet to [contact@etoilewebdesign.com](https://wordpress.org/support/topic/xlsx-uploading-returning-php-errors/contact@etoilewebdesign.com?output_format=md)
   so that we can take a look?
 *  Thread Starter [ottomaddox](https://wordpress.org/support/users/ottomaddox/)
 * (@ottomaddox)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/xlsx-uploading-returning-php-errors/#post-5468658)
 * Hi there,
 * Sent you an email with my XLSX file attached from skullgunupgrade [at] gmail.
 * Thanks
 *  Plugin Author [Rustaurius](https://wordpress.org/support/users/rustaurius/)
 * (@rustaurius)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/xlsx-uploading-returning-php-errors/#post-5468722)
 * The warning is actually a reference to you not having any custom fields, while
   the plugin is looking to compare the column titles to them. We’re putting out
   an update (V2.4.30) right now that should correct the warning.
 *  Thread Starter [ottomaddox](https://wordpress.org/support/users/ottomaddox/)
 * (@ottomaddox)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/xlsx-uploading-returning-php-errors/#post-5468774)
 * Thanks for the quick response. As you pointed out, the spreadsheet was actually
   uploading properly. The other error that I failed to notice was that the plugin
   was rejecting my spreadsheet for having too many product entries (I’m testing
   the basic version before I buy). Once I pared items down to 100, everything functioned
   as expected. Will be buying a product key soon. Thanks for your help and rapid
   support!

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

The topic ‘XLSX uploading returning PHP errors’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-product-catalogue/assets/icon-128x128.png?rev=1805317)
 * [Ultimate Product Catalog](https://wordpress.org/plugins/ultimate-product-catalogue/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-product-catalogue/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-product-catalogue/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-product-catalogue/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-product-catalogue/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-product-catalogue/reviews/)

## Tags

 * [php-error](https://wordpress.org/support/topic-tag/php-error/)

 * 4 replies
 * 2 participants
 * Last reply from: [ottomaddox](https://wordpress.org/support/users/ottomaddox/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/xlsx-uploading-returning-php-errors/#post-5468774)
 * Status: resolved