# Error when trying to implement jqeury for siteseaerch

**URL:** <https://discuss.elastic.co/t/error-when-trying-to-implement-jqeury-for-siteseaerch/186684>\
**Category:** Elastic Search\
**Tags:** elastic-site-search\
**Created:** [June 20, 2019, 12:30pm UTC](https://discuss.elastic.co/t/error-when-trying-to-implement-jqeury-for-siteseaerch/186684 "2019-06-20T12:30:59Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![elitzur\_e](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/elitzur_e/32/48445_2.png) [@elitzur\_e](https://discuss.elastic.co/u/elitzur_e)\
**Post date:** [July 10, 2019, 2:05pm UTC](https://discuss.elastic.co/t/error-when-trying-to-implement-jqeury-for-siteseaerch/186684/10 "2019-07-10T14:05:46Z")

</div>

hi,  
i made a new topic about it just to stay keep things in order:

> [@Error when using search ui and site search - map is undefined](https://discuss.elastic.co/t/error-when-using-search-ui-and-site-search-map-is-undefined/189786):
>
> hi im using the latest search-ui (0.12) with the example code that works fine. when changing it to use the site search connector and updating the .env file (and some other small stuff to match it) i went on to remove all the facets etc. to have the minimum needed to have a search page. i used a search engine that already scanned one of my sites (apx. 2k pages) I get this error in the page: An unexpected error occurred: Cannot read property 'map' of undefined this is the app.js: [https://js…](https://jsfiddle.net/viper123/7h1wx2vo/)

can you take a look please?

thanks 🙂

---

_[View the full topic](https://discuss.elastic.co/t/error-when-trying-to-implement-jqeury-for-siteseaerch/186684)._
