Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8405177
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T22:47:07+00:00 2026-06-09T22:47:07+00:00

This is the error I get: The line in question in the un-minified jQuery

  • 0

This is the error I get:

enter image description here

The line in question in the un-minified jQuery 1.7.2 javascript file:

 error: function( msg ) {
     throw new Error( msg );
 }, 

From this, there is no way to figure out where the error is (or at least it isn’t clear to me). I found that uncommenting this line from a jQuery plugin (http://shama.github.com/jmpress.js/#/docs) causes the error to stop:

$("#my_div").jmpress();

but I can’t get greater granularity than that. Any debugging tips to help me find out where this JSON parsing is happening?

=== EDIT: ===

using JSON.parse, I was able to track down this particular string that was attempting to be parsed as a string:

_FB_f3757ad5f032398xd_action=proxy_ready&data

but can’t nail down where it is coming into my code, but from the “FB” prefix it seems as though this string is part of the Facebook JS SDK (which I am using)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T22:47:09+00:00Added an answer on June 9, 2026 at 10:47 pm

    Ok, looking at the source code of jmpress it comes from the cross-origin iframe messaging. Basically jmpress does this:

    window.addEventListener("message", function(event) {
        // We do not test orgin, because we want to accept messages
        // from all orgins
        try {
            var json = JSON.parse(event.data);
            switch(json.type) {
            case "select":
                // TODO SECURITY filter targetId
                $.each(eventData.settings.presentationMode.transferredValues, function(idx, name) {
                    eventData.current[name] = json[name];
                });
                $(eventData.jmpress).jmpress("select", {step: "#"+json.targetId, substep: json.substep}, json.reason);
                break;
            case "listen":
                current.selectMessageListeners.push(event.source);
                break;
            case "ok":
                clearTimeout(current.presentationPopupTimeout);
                break;
            case "read":
                try {
                    event.source.postMessage(JSON.stringify({type: "url", url: window.location.href, notesUrl: eventData.settings.presentationMode.notesUrl}), "*");
                } catch(e) {
                    $.error("Cannot post message to source: " + e);
                }
                break;
            default:
                throw "Unknown message type: " + json.type;
            }
        } catch(e) {
            $.error("Recieved message is malformed: " + e);
        }
    });
    

    So all iframes that post to the main window, will go through this event handler and log the error when they pass invalid JSON. It looks like you have a facebook iframe on your website, that posts messages to the main window. Try removing all of those and see if the errors disappear.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i use this line of code : [self parseXMLFileAtURL:url]; And i get this error
I always get this error when trying to compile my file with Boost::GIL PNG
I get this error while accessing a php script: W/System.err: Error reading from ./org/apache/harmony/awt/www/content/text/html.class
I get this error when I use simplejson from django.utils in google app engine
When i get this error: Call to a member function query() on a non-object
Why I get this error? Page not found (404) Using the URLconf defined in
I get this error when i try to upload an image: OSError at /upload/
I get this error on my Ice Cream Sandwich (Android 4.0) device and emulator.
I get this error when I run the code below. I have normally used
I get this error in my app { error: { message: Missing client_id parameter.,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.