New home › Forums › Basic Version › jQuery Error
Tagged: JQuery
- This topic has 3 replies, 1 voice, and was last updated 2 years, 7 months ago by Steven.
-
AuthorPosts
-
January 21, 2021 at 9:42 pm #67127cyberconMember
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.
January 22, 2021 at 7:37 am #67134StevenModeratorHi 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 BeerJanuary 22, 2021 at 7:41 pm #67152cyberconMemberok 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:2January 22, 2021 at 7:43 pm #67153cyberconMemberThe web page using the wp-google-maps is here
January 22, 2021 at 7:44 pm #67154cyberconMembersorry the link didn’t work heres the URL: https://www.celandassociates.com/contact/
January 25, 2021 at 7:48 am #67191StevenModeratorHi 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 BeerJanuary 28, 2021 at 8:30 am #67295StevenModeratorHi 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 -
AuthorPosts
- You must be logged in to reply to this topic.