Hello,
I’m trying to update some meta fields in the PPOM for Woocommerce Plugin, but getting a fatal error when doing so.
I exported the meta fields using the option on the plugin, made some amends to the fields (price changes) then when to import it back and ended up getting,
Fatal error: Uncaught ValueError: array_combine():
Argument
#1 ($keys) and argument #2 ($values) must have the same number of elements in /home/storm/sites/specialnights-co-uk/public/wp-content/plugins/ppom-pro/ppom.php:1057 Stack trace:
#0 /home/storm/sites/specialnights-co-uk/public/wp-content/plugins/ppom-pro/ppom.php(1057): array_combine()
#1 /home/storm/sites/specialnights-co-uk/public/wp-includes/class-wp-hook.php(307): PPOM_PRO->ppom_import_csv()
#2 /home/storm/sites/specialnights-co-uk/public/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#3 /home/storm/sites/specialnights-co-uk/public/wp-includes/plugin.php(476): WP_Hook->do_action()
#4 /home/storm/sites/specialnights-co-uk/public/wp-admin/admin-post.php(85): do_action()
#5 {main} thrown in /home/storm/sites/specialnights-co-uk/public/wp-content/plugins/ppom-pro/ppom.php on line 1057
I even tried to upload the original file I downloaded, unchanged but got the same error.
I’ve updated both plugins to the latest version, but that didn’t seem to make a difference,
Any help would be greatly appreciated.
Cheers
Josh