HPOS Broke This Plugin
-
Helllo,
This is a spectacular plugin. All plugins and WP/Woo are updated to the current version.
We are currently updating to HPOS and have the Woo > Settings > Advanced > Features set as follows (yes, all orders are synchronized):- Enabled: “High-performance order storage (recommended)”
- Not checked: “Enable compatibility mode (synchronizes orders to the posts table).”
When we enter something to search on the development site, nothing is returned. Our live site without HPOS is working fine. This is on a development site restricted by IP, so the url is not here.
I see no error in the browser developer’s panel indicating the jquery/javascript/ajax is okay.
The wp-content/debug.log error thrown every time a character is entered (after the minimum number of chars) is as follows:
[17-Jul-2024 22:33:16 UTC] PHP Fatal error:? Uncaught Error: Call to undefined function DgoraWcas\mb_strtolower() in wp-content/plugins/ajax-search-for-woocommerce/includes/Helpers.php:695
Stack trace:
#0 wp-content/plugins/ajax-search-for-woocommerce/includes/Helpers.php(666): DgoraWcas\Helpers::normalizePhrase('white water lil...')
#1 wp-content/plugins/ajax-search-for-woocommerce/includes/Engines/WordPressNative/Search.php(245): DgoraWcas\Helpers::calcScore('white water lil...', ''White Delight'...')
#2 wp-content/plugins/ajax-search-for-woocommerce/includes/Engines/WordPressNative/Search.php(724): DgoraWcas\Engines\WordPressNative\Search->getSearchResults('white water lil...', true, 'product-ids')
#3 wp-includes/class-wp-hook.php(324): DgoraWcas\Engines\WordPressNative\Search->overwriteSearchPage(Object(WP_Query))
#4 wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#5 wp-includes/plugin.php(565): WP_Hook->do_action(Array)
#6 wp-includes/class-wp-query.php(1881): do_action_ref_array('pre_get_posts', Array)
#7 wp-includes/class-wp-query.php(3824): WP_Query->get_posts()
#8 wp-includes/class-wp.php(696): WP_Query->query(Array)
#9 wp-includes/class-wp.php(816): WP->query_posts()
#10 wp-includes/functions.php(1336): WP->main('')
#11 wp-blog-header.php(16): wp()
#12 index.php(17): require('/...')
#13 {main}
? thrown in wp-content/plugins/ajax-search-for-woocommerce/includes/Helpers.php on line 695Thank you for such a wonderful and useful plugin! I look forward to a solution.
- You must be logged in to reply to this topic.