Services Plugins FAQs

ZQ Fuzzy Search & Autocomplete Cannot read properties of null (reading 'get')

Hi,

Ive recently got a error with one of my Fuzzy search component. It worked previously but Im not able to identify where the error comes from. Other fuzzy search components on the same page and on other pages work.

Find the details below :

  • Error : The plugin ZQ Fuzzy Search & Autocomplete / element Search & Autocorrect threw the following error: TypeError: Cannot read properties of null (reading 'get') at Object.a.data.makearray (PLUGIN_1553006094610x835866904531566600/ZQ-Fuzzy-Search---Autocomplete-update--Search---Autocorrect-.js:5:23) at Object.a.data.loadFuzzy (PLUGIN_1553006094610x835866904531566600/ZQ-Fuzzy-Search---Autocomplete-update--Search---Autocorrect-.js:5:319) (please report this to the plugin author)
  • environnement : test
  • url : https://app.trouver-un-reparateur.fr/version-test/espace_reparateur_2/Lorem%20ipsum…?debug_mode=true&menu=dashboard
  • editor : Trouverunreparateur | Bubble Editor

Where to find the components : Group Master réparateur > Group Dashboard > Group Customer

How it suppose to work : When the user fill an input a GroupFocus containing a RG with a customer list appears. Currently the RG is not populated with the Search&Autocorrect Value. It should be, that’s the issue.

Details :

  • The user type in the input Input Nom du client which is linked to Search&Autocorrect Customer Dash through the Input Box ID searchCustomerDashboard
  • Workflow run : When Input Nom du client is not empty show GroupFocus Customer Dashboard
  • GroupFocus Customer Dashboard contains a RG with the datasource Search&Autocorrect Customer Dash's Matches

Help would be much appreciated.

Thanks,
Pierre

Hello, @pierre
Thanks for reaching out.

Please allow us to carefully check your request and to revert with feedback at the nearest time. It can take some time due to the weekends.
Thanks for the understanding.

Best regards,

Thanks for the reply, the matter is not that urgent but it would be great to have an answer for early-mid next week :slight_smile:

Hello, @pierre
Thanks for your patience.

We have checked your application, and especially the Search&Autocorrect Customer Dash element, and found the issue.
Please note that our plugin works only with the “Text type” of the information. That’s why all other elements of the plugin are working on your page. So, you are doing the searching through the “Customers”, were trying to receive the first name and last name of the customer, which are text:
image
image

However, the problematic elements are configured in another way. Here, you are using the “Customer” data type:


image

You can see that searching is going through the object “Customer”, but not the text. Unfortunately, the cross-searching through different data types is not possible with the plugin.

In order to make this element workable, you need to change the Data Source to another one.

Please try it and let me know about your result.
Best regards,

Yep that’s it. Thanks a lot.

Cross-searching would be great though (not in the Datasource but in the Field to Search - e.g Searching for appointments through Customer’s name).
Any plan on allowing that in the future (if that’s even possible) ?

Best,

Hello, @pierre
Thank you for your suggestion.

Please allow me to mention that this is a simple plugin, which allows you just to search through your DataBase required things.
So, cross-searching is possible here due to the different reasons :pray:
In case you are willing to implement something more complicated or to search through another DataBase, I would suggest other plugins.

In case you have any plugin-related questions, please let me know.
Best regards,