• Resolved rosigroupcom

    (@rosigroupcom)


    Hello, after installing the demo product import and reindicating the products in Meilisearch, I’m stuck on a JS issue in the Autocomplete Search widget. The products were indexing fine and quite fast. I have the demo running on the current version of WordPress ( 6.7.2) with the basic Twenty Twenty-Four theme and Woocommerce (9.7.0). I hope the bug will soon be fixed and the plugin will be usable. It’s great that you’ve taken the plunge into developing this plugin and I’m keeping my fingers crossed for more work.

    Uncaught TypeError: Cannot read properties of undefined (reading ‘map’)
    at getSources (view.js?ver=5cf390296a4d1f899d31:1:278385)
    at view.js?ver=5cf390296a4d1f899d31:1:194647
    at view.js?ver=5cf390296a4d1f899d31:1:195184
    at Array.map ()
    at Object.getSources (view.js?ver=5cf390296a4d1f899d31:1:194577)
    at Pt (view.js?ver=5cf390296a4d1f899d31:1:203607)
    at Object.onChange as input
    at HTMLInputElement.Ae (view.js?ver=5cf390296a4d1f899d31:1:229197)

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author ponopress

    (@ponopress)

    Hello @rosigroupcom ,

    Thank you for using our plugin!

    We tested the plugin in a setup identical to yours, running WordPress version 6.7.2 and WooCommerce version 9.7.0. After importing the demo products and indexing them, the Autocomplete block functioned correctly on our end.

    Please ensure that the product index is selected in the Autocomplete block settings, as shown in the screenshot here: https://tinyurl.com/2awkx33o

    If the issue persists, could you share your site link with us?

    Best regards,
    Pono Press

    • This reply was modified 1 year, 1 month ago by ponopress.
    Thread Starter rosigroupcom

    (@rosigroupcom)

    Hello,
    I found out where my problem was. I forgot to set the Meilisearch index in the widget settings.
    Now it’s working properly. 5 stars for me.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘JavaScript error in Autocomplet widget’ is closed to new replies.