Fix JS Conflict on Registration Form (Hub Theme + B2BKing)

Замовник: AI | Опубліковано: 18.12.2025

Hi, I need help fixing a JavaScript conflict on a WordPress site. I have B2BKing and WooCommerce installed, and the country dropdown field in the registration form is not working correctly. The issue appears to be caused by the Hub theme’s custom script for styled select fields, which conflicts with B2BKing and Elementor. The console shows the following error: TypeError: Cannot read properties of undefined (reading 'setSettings'). This should be a relatively simple debugging task for someone experienced, as the fix most likely involves disabling or adjusting the Hub theme’s custom select script on the registration/checkout page, for example via wp_dequeue_script() or a similar approach, so that B2BKing and Elementor can initialize correctly. Please let me know your estimated cost and timeframe. Thank you