Cities don’t populate after selecting a State
-
Hello,
Thank you for the awesome free plugin. It works most of the time, but in many, many cases, it does not.
Even though this issue occurs so often, I still can’t find a way to reproduce it. It seems to happen purely randomly.
After selecting a Country, the States dropdown menu is populated, and after selecting a State, the City dropdown menu remains empty. No options.
In the last occurrence, the Country was Saudi Arabia and the State was Riyadh.
There are no logs on WooCmmerce file logs related to the plugin. There is a log file that was created a little BEFORE the issue. Not sure if it’s related.
2022-05-26T04:46:55+00:00 CRITICAL Uncaught Error: Call to a member function get_cart() on null in /home/xxxxxx/public_html/wp-content/themes/diza/woocommerce/cart/mini-cart.php:29 Stack trace: #0 /home/xxxxxx/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include() #1 /home/xxxxxx/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php(2226): wc_get_template('cart/mini-cart....', Array) #2 /home/xxxxxx/public_html/wp-content/themes/diza/page-templates/parts/offcanvas-cart-right.php(11): woocommerce_mini_cart() #3 /home/xxxxxx/public_html/wp-includes/template.php(772): require('/home/xxxxxx...') #4 /home/xxxxxx/public_html/wp-includes/template.php(716): load_template('/home/xxxxxx...', false, Array) #5 /home/xxxxxx/public_html/wp-includes/general-template.php(204): locate_template(Array, true, false, Array) #6 /home/xxxxxx/public_html/wp-content/themes/diza/inc/functions-helper.php(406): get_template_part('page-templates/...', 'right') #7 /home/xxxxxx/publi in /home/xxxxxx/public_html/wp-content/themes/diza/woocommerce/cart/mini-cart.php on line 29
Any troubleshooting hints?
Latest version of everything, the plugin, WC, and WP.
Regards.
- The topic ‘Cities don’t populate after selecting a State’ is closed to new replies.