Public Ticket #2560250

User Roles are Saving as Auto Draft

Closed
Comments
1 Ticket
David started the conversation 6 years ago on October 5, 2020 at 2:11pm

Hi, 

There are two issues that I would like help with:

1) The Role when creating a new role is not saving the name (screenshot attached) and have send a screenshot of the groups for B2B section.

2) When I run the API to date products, I get the following Fatal error:

Specifically the line below - and then I have attached the complete log for you to see - how can this be resolved.

2020-10-05T05:26:33+00:00 CRITICAL Uncaught Error: Call to a member function get_cart() on null in /home/simplsps/public_html/headwear/wp-content/plugins/b2bking/public/class-b2bking-public.php:516



2020-10-05T05:26:32+00:00 CRITICAL Uncaught Error: Call to a member function get_cart() on null in /home/simplsps/public_html/headwear/wp-content/plugins/b2bking/public/class-b2bking-public.php:516
Stack trace:
#0 /home/simplsps/public_html/headwear/wp-includes/class-wp-hook.php(289): B2bking_Public->b2bking_tiered_pricing_fixed_price('101.9500', Object(WC_Product_Variation))
#1 /home/simplsps/public_html/headwear/wp-includes/plugin.php(206): WP_Hook->apply_filters('101.9500', Array)
#2 /home/simplsps/public_html/headwear/wp-content/plugins/woocommerce/includes/data-stores/class-wc-product-variable-data-store-cpt.php(299): apply_filters('woocommerce_var...', '101.9500', Object(WC_Product_Variation), Object(WC_Product_Variable))
#3 /home/simplsps/public_html/headwear/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(207): WC_Product_Variable_Data_Store_CPT->read_price_data(Object(WC_Product_Variable), true)
#4 /home/simplsps/public_html/headwear/wp-content/plugins/woocommerce/includes/class-wc-product-variable.php(81): WC_Data_Sto in /home/simplsps/public_html/headwear/wp-content/plugins/b2bking/public/class-b2bking-public.php on line 516
2020-10-05T05:26:33+00:00 CRITICAL Uncaught Error: Call to a member function get_cart() on null in /home/simplsps/public_html/headwear/wp-content/plugins/b2bking/public/class-b2bking-public.php:516
Stack trace:
#0 /home/simplsps/public_html/headwear/wp-includes/class-wp-hook.php(287): B2bking_Public->b2bking_tiered_pricing_fixed_price('101.9500', Object(WC_Product_Variation))
#1 /home/simplsps/public_html/headwear/wp-includes/plugin.php(206): WP_Hook->apply_filters('101.9500', Array)
#2 /home/simplsps/public_html/headwear/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php(751): apply_filters('woocommerce_pro...', '101.9500', Object(WC_Product_Variation))
#3 /home/simplsps/public_html/headwear/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php(267): WC_Data->get_prop('price', 'view')
#4 /home/simplsps/public_html/headwear/wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php(45): WC_Product->get_price()
#5 /home/simplsps/public_html/headwe in /home/simplsps/public_html/headwear/wp-content/plugins/b2bking/public/class-b2bking-public.php on line 516
2020-10-05T12:33:54+00:00 CRITICAL Uncaught Exception: Undefined field name. in /home/simplsps/public_html/headwear/wp-content/plugins/wp-all-import-pro/models/model/record.php:148
Stack trace:
#0 /home/simplsps/public_html/headwear/wp-content/plugins/wp-all-import-pro/controllers/admin/import.php(2610): PMXI_Model_Record->__get('name')
#1 /home/simplsps/public_html/headwear/wp-content/plugins/wp-all-import-pro/wp-all-import-pro.php(797): PMXI_Admin_Import->process()
#2 /home/simplsps/public_html/headwear/wp-includes/class-wp-hook.php(287): PMXI_Plugin->adminDispatcher('')
#3 /home/simplsps/public_html/headwear/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters('', Array)
#4 /home/simplsps/public_html/headwear/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#5 /home/simplsps/public_html/headwear/wp-admin/admin.php(259): do_action('all-import_page...')
#6 {main}  thrown in /home/simplsps/public_html/headwear/wp-content/plugins/wp-all-import-pro/models/model/record.php on line 148


Please can this be looked at urgently, as the customer is wanting to launch the site as soon as possible.


Thank you, 

David

2,762
KingsPlugins replied 6 years ago on January 14, 2021 at 8:35pm

Hi Antti,

I believe that has been fixed a few plugin updates ago. I suspect you may be running an older plugin version. Can you check please? Latest version on CodeCanyon is currently 3.0.

If that doesn't help, would you mind opening a separate ticket for this?

Thank you very much,

Stefan

1
6 Tickets 4
Antti-Pekka Ristilä replied 6 years ago on January 15, 2021 at 1:01pm

Hi

Thank you for the reply. I'm running version 3.0 but the roles were created using older version. However, I updated the roles and now the group names are showing as they should.

Best regards,

Antti

1

Sign In