• Resolved Hache_raw

    (@hache_raw)


    If a category already exists, this error is thrown:

    
    Fatal error: Uncaught Error: Cannot use object of type WP_Error as array in C:\xampp\htdocs\wordpress\wp-content\plugins\bulk-woocommerce-category-creator\bulk-wc-category-creator.php:313
    Stack trace:
    #0 C:\xampp\htdocs\wordpress\wp-content\plugins\bulk-woocommerce-category-creator\bulk-wc-category-creator.php(231): BWCC_Bulk_WooCommerce_Category_Creator::bwcc_create_category('Varios', '-1', '', '')
    #1 C:\xampp\htdocs\wordpress\wp-content\plugins\bulk-woocommerce-category-creator\bulk-wc-category-creator.php(195): BWCC_Bulk_WooCommerce_Category_Creator::bwcc_CreateCategories()
    #2 C:\xampp\htdocs\wordpress\wp-includes\class-wp-hook.php(288): BWCC_Bulk_WooCommerce_Category_Creator::bwcc_RegisterPluginSettings('')
    #3 C:\xampp\htdocs\wordpress\wp-includes\class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array)
    #4 C:\xampp\htdocs\wordpress\wp-includes\plugin.php(478): WP_Hook->do_action(Array)
    #5 C:\xampp\htdocs\wordpress\wp-admin\admin.php(170): do_action('admin_init')
    #6 C:\xampp\htdocs\wordpress\wp-admin\edit.php(10): require_o in C:\xampp\htdocs\wordpress\wp-content\plugins\bulk-woocommerce-category-creator\bulk-wc-category-creator.php on line 313
    
    • This topic was modified 4 years, 8 months ago by Hache_raw.
    • This topic was modified 4 years, 8 months ago by Hache_raw.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error when category already exists’ is closed to new replies.