jQuery Error

New home Forums Basic Version jQuery Error

Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #67127
    cybercon
    Member

    I’m getting this error

    Uncaught Error: SyntaxError: Unexpected token < in JSON at position 2761
    at Object.params.error.params.error (wp-google-maps.min.js:1)
    at c (jquery.min.js:2)
    at Object.fireWith [as rejectWith] (jquery.min.js:2)
    at l (jquery.min.js:2)
    at XMLHttpRequest.<anonymous> (jquery.min.js:2)

    Can some one help? The plugin is not load the map on the backend nor the front end.

    I am running version 8.1.6 on WordPress 5.6.

    Thank you in advance for any help.

    #67134
    Steven
    Moderator

    Hi there,

    Thank you so much for getting in touch and our sincerest apologies for the inconvenience.

    Could I kindly ask you to confirm a link to your map page?

    Additionally, could I kindly ask you to navigate to -> Maps -> Settings -> Advanced -> Please enable the Developer mode and save the settings.

    Please then disable developer mode and resave once more.

    This should allow the plugin’s scripts to recompile and to remove any rogue code caught in the compiled scripts.

    Kindly confirm once complete?

    I look forward to hearing back from you.

    Kindest Regards,
    Steven De Beer

    #67152
    cybercon
    Member

    ok this fixed the wp-google-maps.min.js error.

    Now I have a different error.

    wp-google-maps.combined.js:7807 Uncaught Error: SyntaxError: Unexpected token < in JSON at position 3023
    at Object.params.error (wp-google-maps.combined.js:7807)
    at c (jquery.min.js:2)
    at Object.fireWith [as rejectWith] (jquery.min.js:2)
    at l (jquery.min.js:2)
    at XMLHttpRequest.<anonymous> (jquery.min.js:2)

    As well as a warning:

    wp-google-maps.combined.js:781 Minified script is out of date, using combined script instead.
    (anonymous) @ wp-google-maps.combined.js:781
    e @ jquery.min.js:2
    t @ jquery.min.js:2
    setTimeout (async)
    (anonymous) @ jquery.min.js:2
    c @ jquery.min.js:2
    add @ jquery.min.js:2
    (anonymous) @ jquery.min.js:2
    s.Deferred.s.Deferred @ jquery-migrate.min.js:2
    then @ jquery.min.js:2
    S.fn.ready @ jquery.min.js:2
    S.fn.init @ jquery.min.js:2
    s.fn.init @ jquery-migrate.min.js:2
    S @ jquery.min.js:2
    (anonymous) @ wp-google-maps.combined.js:775
    e @ jquery.min.js:2
    t @ jquery.min.js:2
    setTimeout (async)
    (anonymous) @ jquery.min.js:2
    c @ jquery.min.js:2
    fireWith @ jquery.min.js:2
    fire @ jquery.min.js:2
    c @ jquery.min.js:2
    fireWith @ jquery.min.js:2
    ready @ jquery.min.js:2
    B @ jquery.min.js:2

    #67153
    cybercon
    Member

    The web page using the wp-google-maps is here

    #67154
    cybercon
    Member

    sorry the link didn’t work heres the URL: https://www.celandassociates.com/contact/

    #67191
    Steven
    Moderator

    Hi there,

    Thank you so much for getting back to me.

    This error usually means that there is the additional text being added to the JSON request which is then causing the request to fail.

    This is usually caused by a rogue PHP error or similar, so if I might ask, would you be open to providing us with temporary admin access via a private response?

    This should allow me to locate and correct wherever this issue is occurring.

    I look forward to hearing back from you.

    Kindest Regards,
    Steven De Beer

    #67295
    Steven
    Moderator

    Hi there,

    Thank you so much for getting back to me.

    I tried logging in once more, however, I am receiving a PHP version server issue:
    – Your server is running PHP version 5.4.45 but WordPress 5.6 requires at least 5.6.20.

    Would you possibly be able to update your PHP version to work correctly with WordPress V5.6?

    This might be what was causing this issue and perhaps a few other issues.

    I look forward to hearing back from you.

    Kindest Regards,
    Steven De Beer

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.