Title: Syntax erros and shortcodes
Last modified: August 31, 2023

---

# Syntax erros and shortcodes

 *  Resolved [saratangram](https://wordpress.org/support/users/saratangram/)
 * (@saratangram)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/syntax-erros-and-shortcodes/)
 * I keep getting an error when I try to view individual feature maps, likewise 
   if I put the feature shortcode into a blank page. The features show up fine on
   within a Map post type (for example [https://surreyequities.tangram3ds.com/shortcode-test/](https://surreyequities.tangram3ds.com/shortcode-test/)),
   but I want to be able to have each polygon have its own dedicated map/post.
 * I’ve made sure the features have a default map set. I disabled all the plugins,
   wasn’t using cache (Development site), then installed cache plugin and cleared
   it and made sure there’s no server-side caching going on. Any ideas?
 * Error in console is
 *     ```wp-block-code
       Uncaught (in promise) SyntaxError: Unexpected token '<', "<br />
       <b>"... is not valid JSON
       ```
   
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fsyntax-erros-and-shortcodes%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [mapster](https://wordpress.org/support/users/mapster/)
 * (@mapster)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/syntax-erros-and-shortcodes/#post-17017062)
 * I think you caught a syntax error here that I’d missed on the single feature 
   shortcodes! My bad. I have a beta version that fixes this that I can send you—
   can you email me at [victor@mapster.me](https://wordpress.org/support/topic/syntax-erros-and-shortcodes/victor@mapster.me?output_format=md)
   so we can discuss further? Thanks!
 *  Thread Starter [saratangram](https://wordpress.org/support/users/saratangram/)
 * (@saratangram)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/syntax-erros-and-shortcodes/#post-17041373)
 * I sent you a couple emails, maybe they went to spam?
 *  Plugin Author [mapster](https://wordpress.org/support/users/mapster/)
 * (@mapster)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/syntax-erros-and-shortcodes/#post-17048227)
 * This was solved with the latest beta, which will be released soon on WP.org as
   version 1.2.37!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Syntax erros and shortcodes’ is closed to new replies.

 * ![](https://ps.w.org/mapster-wp-maps/assets/icon-256x256.png?rev=3132969)
 * [Mapster WP Maps](https://wordpress.org/plugins/mapster-wp-maps/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mapster-wp-maps/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mapster-wp-maps/)
 * [Active Topics](https://wordpress.org/support/plugin/mapster-wp-maps/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mapster-wp-maps/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mapster-wp-maps/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [mapster](https://wordpress.org/support/users/mapster/)
 * Last activity: [2 years, 8 months ago](https://wordpress.org/support/topic/syntax-erros-and-shortcodes/#post-17048227)
 * Status: resolved