Listings pages do not show anything due to Geolocation plugin

Hi i need help fixing an issue with the Geolocation plugin. In the last week when i activate the plugin the pages containing the properties listings in my website show critical error and do not load. When the plugin deactivates everything is back to normal, but there is no location information, which is very important for the search feature in the website. I have ran the debug from my host provider ( Kinsta) and this message appears. Can someone with software knowledge explain in plain language what should i do to fix it.

Warning : Undefined array key “location” in /www/wwwfindmyhivecouk_876/public/wp-content/plugins/hivepress-geolocation/includes/components/class-geolocation.php on line 681

Fatal error : Uncaught TypeError: Cannot access offset of type string on string in /www/wwwfindmyhivecouk_876/public/wp-content/plugins/search-analytics/includes/class.process-query.php:15 Stack trace: #0 /www/wwwfindmyhivecouk_876/public/wp-content/plugins/hivepress-geolocation/includes/components/class-geolocation.php(684): MWTSA_Process_Query::process_wpforo_search_term_action(’{“link”:"https:…’, 1, 1, 1) #1 /www/wwwfindmyhivecouk_876/public/wp-includes/class-wp-hook.php(310): HivePress\Components\Geolocation->alter_sort_form(Array) #2 /www/wwwfindmyhivecouk_876/public/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array) #3 /www/wwwfindmyhivecouk_876/public/wp-content/plugins/hivepress/includes/forms/class-form.php(169): apply_filters(‘hivepress/v1/fo…’, Array, Object(HivePress\Forms\Listing_Sort)) #4 /www/wwwfindmyhivecouk_876/public/wp-content/plugins/hivepress/includes/forms/class-listing-sort.php(83): HivePress\Forms\Form->__construct(Array) #5 /www/wwwfindmyhivecouk_876/public/wp-content/plugins/hivepress/includes/helpers.php(277): HivePress\Forms\Listing_Sort->__construct() #6 /www/wwwfindmyhivecouk_876/public/wp-content/plugins/hivepress/includes/components/class-attribute.php(1634): HivePress\Helpers\create_class_instance(’\HivePress\Form…’) #7 /www/wwwfindmyhivecouk_876/public/wp-includes/class-wp-hook.php(308): HivePress\Components\Attribute->set_search_query(Object(WP_Query)) #8 /www/wwwfindmyhivecouk_876/public/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #9 /www/wwwfindmyhivecouk_876/public/wp-includes/plugin.php(565): WP_Hook->do_action(Array) #10 /www/wwwfindmyhivecouk_876/public/wp-includes/class-wp-query.php(1833): do_action_ref_array(‘pre_get_posts’, Array) #11 /www/wwwfindmyhivecouk_876/public/wp-includes/class-wp-query.php(3749): WP_Query->get_posts() #12 /www/wwwfindmyhivecouk_876/public/wp-includes/class-wp.php(663): WP_Query->query(Array) #13 /www/wwwfindmyhivecouk_876/public/wp-includes/class-wp.php(783): WP->query_posts() #14 /www/wwwfindmyhivecouk_876/public/wp-includes/functions.php(1332): WP->main(’’) #15 /www/wwwfindmyhivecouk_876/public/wp-blog-header.php(16): wp() #16 /www/wwwfindmyhivecouk_876/public/index.php(17): require(’/www/wwwfindmyh…’) #17 {main} thrown in /www/wwwfindmyhivecouk_876/public/wp-content/plugins/search-analytics/includes/class.process-query.php on line 15

Please send more details that may help to detect or reproduce this issue (e.g., a link to your site, screenshots, the steps to reproduce this issue).

It was tested locally, and it seems to be ok. Also, please make sure that you have the latest version of HivePress plugin and HivePress Geolocation extension

Hi , I don’t know the steps to fix the issue. The website is findmyhive.co.uk
I have to deactivate the plugin, because otherwise the users can’t click on the property categories. I am attaching a image of what comes up when the categories pages are clicked on. The plugin has been updated regularly. I am using mapbox, not Google for the location

Please disable third-party plugins and customizations (if there are any) and check if this issue persists. If you use a caching plugin, make sure that caching is disabled for logged-in users.

By steps to reproduce I mean which actions you have done before the issue appears (e.g., add some customizations, switch on/switch off some settings, which settings you have chosen in HivePress/Settings, etc.)