• Resolved ottomaddox

    (@ottomaddox)


    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://ww.wp.xz.cn/plugins/ultimate-product-catalogue/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Rustaurius

    (@rustaurius)

    Hi Otto,

    Would you be able to send your sheet to [email protected] so that we can take a look?

    Thread Starter ottomaddox

    (@ottomaddox)

    Hi there,

    Sent you an email with my XLSX file attached from skullgunupgrade [at] gmail.

    Thanks

    Plugin Author Rustaurius

    (@rustaurius)

    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

    (@ottomaddox)

    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.