Public Ticket #3351652

Fatal Error

Closed
Comments
2 Tickets 1
Jason started the conversation 3 years ago on April 18, 2023 at 10:27pm

We have been working on this new site. I was actually setting up B2B King last week with all of the groups and rules, it worked well. I did a lot of importing data from the old site, including subscriptions, orders, customers, coupons and products. Now I can not get the B2B king plugin to work. When I try to click any of the options in the B2B King menu, I get this error. 

Fatal error: Uncaught TypeError: Unsupported operand types: string + string in /var/www/html/wp-content/plugins/b2bking/admin/class-b2bking-admin.php:11826 Stack trace: #0 /var/www/html/wp-content/plugins/b2bking/admin/class-b2bking-admin.php(12631): B2bking_Admin::b2bking_get_dashboard_data() #1 /var/www/html/wp-includes/class-wp-hook.php(308): B2bking_Admin->load_global_admin_resources('b2bking_page_b2...') #2 /var/www/html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #3 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #4 /var/www/html/wp-admin/admin-header.php(118): do_action('admin_enqueue_s...', 'b2bking_page_b2...') #5 /var/www/html/wp-admin/admin.php(239): require_once('/var/www/html/w...') #6 {main} thrown in /var/www/html/wp-content/plugins/b2bking/admin/class-b2bking-admin.php on line 11826

There has been a critical error on this website. Please check your site admin email inbox for instructions.

2,762
KingsPlugins replied 3 years ago on April 18, 2023 at 10:34pm

Hi Jason,

Thank you for purchasing our plugin,


Can you please let me know what version of B2BKing Pro you have active?

I am trying to find the specific line of code in that error you shared, but it seems I have a different version on my local site.


Alternatively, if you would like to share a backend login to your site / staging site with us, that's even better and I could look into it directly on your site to get it solved as soon as possible,


Kind regards,

Stefan

2 Tickets 1
Jason replied 3 years ago on April 19, 2023 at 3:27am

thanks that seems to have fixed things. 

One question, what happens when the next update comes out, should I avoid upgrading? I don’t want to erase whatever changes you made. 

1
2,762
KingsPlugins replied 3 years ago on April 19, 2023 at 9:56am

Glad to hear that worked.

I have merged the changes with our main codebase, so you can freely update to all future updates without losing this change.


Kind regards,

Stefan

Sign In