Javascript exception error calling selector function

Javascript exception error calling selector function

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português

      /t5/muse-discussions/javascript-exception-error-calling-selector-function/td-p/9294728 Jul 18, 2017 Jul 18, 2017

      Hi, I recently updated my muse to the latest version. Then I worked on one of my existing project as usual. Upon testing, I upload it to adobe business catalyst, test is OK. I review the site in Browser, the test is also OK. However after I export it as a HTML and test the site, it gave me the following error message when I clicked some of the links on my main page. Then error message is : JaveScript exception: Error calling selector function: SecurityError: Failed to read the ‘contentDocument’ property from ‘HTMLIFrameElement’: Blocked a frame with origin «null» from accessing a cross-origin frame. I don’t even understand the message itself. Could anyone help?

      Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

      1 Correct answer

      Just wanted to update everyone on my issue with Swiftype as I’ve now found a solution. Turns out the URLs being generated are their way of sending users directly to the relevant text on a page. In other words, the page loads and scrolls down to a certain point on the page. Turns out this functionality can be disabled via their settings on the paid plans; my client was on a free account (which they no longer offer to new users), so this setting wasn’t available.

      All that said, I ended up finding a

      /t5/muse-discussions/javascript-exception-error-calling-selector-function/m-p/9294729#M23887 Jul 18, 2017 Jul 18, 2017

      Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

      /t5/muse-discussions/javascript-exception-error-calling-selector-function/m-p/9294730#M23888 Jul 18, 2017 Jul 18, 2017

      The error which you have described «JaveScript exception: Error calling selector function: SecurityError: Failed to read the ‘contentDocument'» usually comes if there is any external HTML code or a third party widget interfering with the original Muse generated codes of the site.

      Can you please share the URL of your site so we can have a look at it?

      Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

      /t5/muse-discussions/javascript-exception-error-calling-selector-function/m-p/9294731#M23889 Aug 01, 2017 Aug 01, 2017

      I have a similar question. In my case, I know the error is related to a Swiftype search box that is embedded in the site using a third party widget, although I’ve also tried solving this by embedding their html code directly and had the same problem.

      As an example, try typing «careers» into the search box at the top of the page, then click on the second result. It goes to the page, but the error comes up first.

      This is a huge problem and is making the search engine basically unusable at the moment. Is there any way to disable the error dialog?

      Here is the site if you want to have a look: http://www.casenetllc.com/

      Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

      /t5/muse-discussions/javascript-exception-error-calling-selector-function/m-p/9294732#M23890 Aug 02, 2017 Aug 02, 2017

      I am not very sure how to rectify this issue in your case.

      As I see that the error only comes when you try navigating to other sub pages of your site through that search bar.

      The link it takes is — www.casenetllc.com/sales-solutions-architect.html#sts=Careers

      However, when I navigate to the pages normally through the links, it goes well.

      Link is — www.casenetllc.com/sales-solutions-architect.html#Careers

      Looks like there is an issue with the code itself.

      You should get this checked once with the code provider.

      Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

      /t5/muse-discussions/javascript-exception-error-calling-selector-function/m-p/9294736#M23894 Aug 03, 2017 Aug 03, 2017

      Thanks for looking into this Ankush. I agree it’s a huge problem that it’s creating those links as they make no sense. I will contact Swiftype and see what they say too.

      Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

      /t5/muse-discussions/javascript-exception-error-calling-selector-function/m-p/9294737#M23895 Aug 10, 2017 Aug 10, 2017

      Just wanted to update everyone on my issue with Swiftype as I’ve now found a solution. Turns out the URLs being generated are their way of sending users directly to the relevant text on a page. In other words, the page loads and scrolls down to a certain point on the page. Turns out this functionality can be disabled via their settings on the paid plans; my client was on a free account (which they no longer offer to new users), so this setting wasn’t available.

      All that said, I ended up finding another search provider that offered much better rates for my client’s needs, and I highly recommend them if anyone is looking for a relatively inexpensive, quality 3rd party search solution. The company is called AddSearch, and can be found here. I did encounter a similar javascript error at first, in this case due to an autofill function that fills the search bar with whatever the user previously entered if they go back a page in the browser; however, it was just a matter of emailing them and asking them to disable it, and they took care of it within hours. Needless to say, I’m very impressed with them so far.

      Unfortunately, this doesn’t resolve the original poster’s question as all of my issues ended up being related specifically to these third party search engines. Just to throw this out there, I would love if future versions of Muse would offer ways for these kind of error pop ups to be disabled on production sites. I understand why they are there, but I personally would only want to ever see these show up in testing. never to the end user. I was very glad the Muse team recently added a way to disable the missing files on server error via Muse’s app preferences file by the way as that was causing endless frustration over the last several months.

      Источник

      Javascript exception error calling selector function

      Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

      • Global community
        • Language:
          • Deutsch
          • English
          • Español
          • Français
          • Português

          /t5/muse-discussions/javascript-exception-error-calling-selector-function-need-help-urgenly/td-p/10865938 Jan 18, 2020 Jan 18, 2020

          Suddenly I’ve started getting the following error messages on the web site www.moromusic.com:

          JavaScript exception: Error calling selector function: TypeError:Object doesn’t support property ormethod ‘museMenu’

          Javascript exception: Error calling selector function: TypeError: $(elem).museMenu is not a function. (In ‘$(elem).museMenu()’,’$(elem).museMenu’ is undefined)

          And the videos on that site have stopped working. Until recently, everything worked perfectly.

          I’m desperate. Moro is after me to FIX this fast and I have no idea how.
          And this situation affects ALL my Muse sites. Is this a bug you need to fix.

          Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

          1 Correct answer

          I removed the menu on the left and previewed the site, navigating by page name. I didn’t see that javascript error mentioning the menu. BUT. on the videos page, the embedded YouTube playlists don’t show up. And on the pages pertaining to musical albums, the sample music / players have disappeared.

          Then I removed the Cookiebot widget and the videos worked in test. Seems that COOKIEBOT is the culprit. So, I added the menu back in and voila! Everything works again, without any JavaScript e

          /t5/muse-discussions/javascript-exception-error-calling-selector-function-need-help-urgenly/m-p/10866380#M48182 Jan 19, 2020 Jan 19, 2020

          The site works on my side. Which one exactly does not work? I cannot check the whole website, I guess?

          Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

          /t5/muse-discussions/javascript-exception-error-calling-selector-function-need-help-urgenly/m-p/10870964#M48207 Jan 21, 2020 Jan 21, 2020

          Hi, and thank you for responding! The javascript error comes up on every page.
          The videos on both video pages don’t work. I tried multiple browsers.

          The music samples on the album pages don’t appear or play. If I knew how to debug this I would but I don’t.

          I did notice I had two different versions of Muse installed so I uninstalled the older version. I really don’t know what to do to fix javascript. Is it possible the Muse files are corrupted?

          Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

          /t5/muse-discussions/javascript-exception-error-calling-selector-function-need-help-urgenly/m-p/10871126#M48209 Jan 21, 2020 Jan 21, 2020

          Well, let´s see what happens if I call for ankushr40215001.

          He solved once an issue with a javascript-exception error buta different type of error.

          I must admit not to have a clue as your error seems not to be found in the muse forum so far.

          Did you use any 3rd party widgets or added some html to the site or did anyone add some html or any code to the site?

          Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

          /t5/muse-discussions/javascript-exception-error-calling-selector-function-need-help-urgenly/m-p/10882012#M48249 Jan 26, 2020 Jan 26, 2020

          Hello Uwe,
          I have embedded HTML on the site (YouTube videos) and some widgets provided by Muse, not sure which are 3rd party. I’m the only one who worked on it, so I’m the only one who could have messed it up that way. I tried restoring the site to a prior state from a backup online, but that failed. No idea what to do next, I’m going crazy.

          Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

          /t5/muse-discussions/javascript-exception-error-calling-selector-function-need-help-urgenly/m-p/10886731#M48256 Jan 28, 2020 Jan 28, 2020

          I passed you overe to Preran — he will contact the team of technique and they might come up to you, I guess.

          Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

          /t5/muse-discussions/javascript-exception-error-calling-selector-function-need-help-urgenly/m-p/10886743#M48257 Jan 28, 2020 Jan 28, 2020

          Thank you, I appreciate any help I can get!

          Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

          /t5/muse-discussions/javascript-exception-error-calling-selector-function-need-help-urgenly/m-p/10886798#M48258 Jan 28, 2020 Jan 28, 2020

          It looks like a problem with one of the widgets. Can you try deleting them one by one and see if you can find the one that is causing it? For further assistance, I suggest getting in touch with us directly using thsi link https://adobe.ly/2WYE62m Use the chat button to get started.

          Inform the agent of the troubleshooting steps you have performed so far so that you don’t end up repeating them.

          Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

          /t5/muse-discussions/javascript-exception-error-calling-selector-function-need-help-urgenly/m-p/10887007#M48259 Jan 28, 2020 Jan 28, 2020

          I removed the menu on the left and previewed the site, navigating by page name. I didn’t see that javascript error mentioning the menu. BUT. on the videos page, the embedded YouTube playlists don’t show up. And on the pages pertaining to musical albums, the sample music / players have disappeared.

          Then I removed the Cookiebot widget and the videos worked in test. Seems that COOKIEBOT is the culprit. So, I added the menu back in and voila! Everything works again, without any JavaScript errors popping up.

          Not putting the Cookiebot widget back on the site. Any other recommended methods of cookie compliance that I could add? I’m worried about EU compliance. Would it be worth trying cookiebot again?

          Источник

          Читайте также:  Html option with images
Оцените статью