• Resolved Andy Crowhurst

    (@fourminutes)


    eventon_script.js lines 1211 – 1213

    Part of the Google maps interface. It objects to SC

    if( typeof SC !== ‘object’ ){
    SC = JSON.parse(SC);
    }
    ===========================================================
    By commenting out the complete function the problem goes away (Google maps interface is disabled anyway until this is sorted)

    I can’t link to a demo page as I have disabled the function in order to make the plugin work on my website.

    ======================================
    Full error message

    jquery.min.js:2 
            
           Uncaught SyntaxError: Unterminated string in JSON at position 1971
        at JSON.parse (<anonymous>)
        at HTMLDivElement.<anonymous> (eventon_script.js?ver=4.1.3:1213:17)
        at Function.each (jquery.min.js:2:3003)
        at s.fn.init.each (jquery.min.js:2:1481)
        at init_run_gmap_openevc (eventon_script.js?ver=4.1.3:1205:31)
        at init (eventon_script.js?ver=4.1.3:144:3)
        at HTMLDocument.<anonymous> (eventon_script.js?ver=4.1.3:12:2)
        at e (jquery.min.js:2:30038)
        at t (jquery.min.js:2:30340)
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support ArtemSupport

    (@artemsupport)

    Hello,
    Thank you for the information!
    Since you cannot link the demo page, could you tell us how can we recreate this error?
    I will also contact Ashan about this.

    Thread Starter Andy Crowhurst

    (@fourminutes)

    I can’t describe how to create the error. All I did was create an Event. Once the error came up that was the best I could do with tracking the problem. Disable the Google Map function (by adding a ‘return;’ to the beginning) and that got rid of the error message. My skills are not enough to dig deeper, even if I had the time.

    I’ve decided to move away from this plugin for now as there were other problems last night anyway and every time I look for a feature I find it’s a chargeable add-on.

    Marked as ‘Resolved’ for me although you may wish to look into it anyway. Thanks.

    Plugin Support ArtemSupport

    (@artemsupport)

    Perfect! We will check this out ASAP.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘JSON.parse(SC) in eventon_script.js give “unterminated string” error’ is closed to new replies.