Uncaught SyntaxError: Invalid or unexpected token
-
Hi I am getting this error in the console on this page https://find-a-mooring.com/?s=plymouth
Uncaught SyntaxError: Invalid or unexpected token and there is no marker showing on the page
This is the code I am using which also uses WP-Types plugin
<div> [fusion_builder_column type="1_2"] [wpv-conditional if="( $(wpcf-marina-latitude) ne '' ) AND ( $(wpcf-marina-longitude) ne '' )"] [leaflet-map lat=[types field='marina-latitude' output='raw'][/types] lng=[types field='marina-longitude' output='raw'][/types] zoom=16][leaflet-marker] [/wpv-conditional] [wpv-conditional if="( $(wpcf-marina-latitude) eq '' ) OR ( $(wpcf-marina-longitude) eq '' )"] [leaflet-map lat=[types field='office-lattitude' format='FIELD_VALUE'][/types] lng=[types field='office-longitude' format='FIELD_VALUE'][/types] zoom=16][leaflet-marker] [/wpv-conditional] [/fusion_builder_column] </div>
The page I need help with: [log in to see the link]
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Uncaught SyntaxError: Invalid or unexpected token’ is closed to new replies.