Title: Elementor (?) Issue &amp; Shortcode
Last modified: April 29, 2020

---

# Elementor (?) Issue & Shortcode

 *  Resolved [testwp75](https://wordpress.org/support/users/testwp75/)
 * (@testwp75)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/elementor-issue-shortcode/)
 * – Since one of the last updates, the stars no longer appear. (see at the bottom
   of the url page)
 * – I use Elementor and the shortcode : [yasr_visitor_votes size=”small”]
 * – I have this console (chrome) issue :
 * yasr-front.js:197 GET [https://lespailles.com/wp-json/wp/v2/posts/1456?_fields=yasr_visitor_votes&_wpnonce=cac56f9380](https://lespailles.com/wp-json/wp/v2/posts/1456?_fields=yasr_visitor_votes&_wpnonce=cac56f9380)
   500
    (anonymous) @ yasr-front.js:197 yasrVisitorVotesFront @ yasr-front.js:231(
   anonymous) @ yasr-front.js:29
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Felementor-issue-shortcode%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [testwp75](https://wordpress.org/support/users/testwp75/)
 * (@testwp75)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/elementor-issue-shortcode/#post-12748150)
 * More informations : [https://imgur.com/a/JvPo7uV](https://imgur.com/a/JvPo7uV)
 *  Plugin Contributor [dudo](https://wordpress.org/support/users/dudo/)
 * (@dudo)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/elementor-issue-shortcode/#post-12751072)
 * Hello!
 * This is strange, seems like the rest response returns a 404.
 * Can you please try to save again your permalinks? (Settings->Permalink->Save 
   settings) You don’t need to change settings, just save again.
 * Let me know!
 *  Thread Starter [testwp75](https://wordpress.org/support/users/testwp75/)
 * (@testwp75)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/elementor-issue-shortcode/#post-12751307)
 * Hello,
 * Thanks for your help. I just tried but it does not work. :/
 *  Thread Starter [testwp75](https://wordpress.org/support/users/testwp75/)
 * (@testwp75)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/elementor-issue-shortcode/#post-12751381)
 * I just tried the different versions of your plugin to find out where the problem
   came from and I can confirm that it comes since version 2.3 because version 2.2.9
   works fine. So, do you have an idea to solve the problem?
    -  This reply was modified 6 years, 1 month ago by [testwp75](https://wordpress.org/support/users/testwp75/).
    -  This reply was modified 6 years, 1 month ago by [testwp75](https://wordpress.org/support/users/testwp75/).
 *  Plugin Contributor [dudo](https://wordpress.org/support/users/dudo/)
 * (@dudo)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/elementor-issue-shortcode/#post-12751405)
 * You don’t need to downgrade to version 2.2.9: just select “no” to the last setting(
   Load results with AJAX) to have the same situation.
 * But hovewer it’s strange that you’ve a 404 response: can you please try to deactivate
   all your plugin 1 by 1?
 *  Thread Starter [testwp75](https://wordpress.org/support/users/testwp75/)
 * (@testwp75)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/elementor-issue-shortcode/#post-12751754)
 * Ok it’s works when I do that thanks! I use wp-rocket, it’s not a compatible caching
   plugin ? 404 disappeared too with the same option disabled.
    -  This reply was modified 6 years, 1 month ago by [testwp75](https://wordpress.org/support/users/testwp75/).
 *  [hshah](https://wordpress.org/support/users/hshah/)
 * (@hshah)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/elementor-issue-shortcode/#post-12770190)
 * I just installed this plugin and noticed the same error. I’m playing around on
   a staging site so I have no caching enabled, and I was just testing the AJAX 
   option for the sake it.
 * This is what the REST API returns:
    `{"code":"rest_post_invalid_id","message":"
   Invalid post ID.","data":{"status":404}}`
    -  This reply was modified 6 years, 1 month ago by [hshah](https://wordpress.org/support/users/hshah/).
 *  [hshah](https://wordpress.org/support/users/hshah/)
 * (@hshah)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/elementor-issue-shortcode/#post-12770301)
 * [@dudo](https://wordpress.org/support/users/dudo/)
 * I think I know why this is happening. It is down to the fact that I’m trying 
   to implement this on a CPT, and I’m guessing [@testwp75](https://wordpress.org/support/users/testwp75/)
   was doing the same.
 * I have REST API enabled for my CPT, and the base will be the “post_type”, which
   in my case is “photos”.
 * The plugin is making a call to:
    `/wp-json/wp/v2/posts/`
 * Which is correctly returning a 404 because the “post_id” doesn’t exist under 
   the base “posts”.
 * If I take the full URL, just change the word “posts” to “photos” and pop it into
   the browser, I get back the expected results 🙂
 *  Plugin Contributor [dudo](https://wordpress.org/support/users/dudo/)
 * (@dudo)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/elementor-issue-shortcode/#post-12772730)
 * Hi [@hshah](https://wordpress.org/support/users/hshah/), seems like you got the
   point!
 * I will work on this and try to fix for the next version.
 * Best,
    Dario
 *  Plugin Contributor [dudo](https://wordpress.org/support/users/dudo/)
 * (@dudo)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/elementor-issue-shortcode/#post-12778156)
 * I’ve fixed this, and fix will be available in the next version.
 * Best,
    Dario
 *  [hshah](https://wordpress.org/support/users/hshah/)
 * (@hshah)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/elementor-issue-shortcode/#post-12778231)
 * [@dudo](https://wordpress.org/support/users/dudo/)
 * Great. I’ll update when it is released and report back 🙂
 *  Plugin Contributor [dudo](https://wordpress.org/support/users/dudo/)
 * (@dudo)
 * [6 years ago](https://wordpress.org/support/topic/elementor-issue-shortcode/#post-12838977)
 * Fixed with version 2.3.3 🙂
 * Best,
    Dario

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

The topic ‘Elementor (?) Issue & Shortcode’ is closed to new replies.

 * ![](https://ps.w.org/yet-another-stars-rating/assets/icon-256x256.png?rev=1525329)
 * [YASR - Yet Another Star Rating Plugin for WordPress](https://wordpress.org/plugins/yet-another-stars-rating/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yet-another-stars-rating/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yet-another-stars-rating/)
 * [Active Topics](https://wordpress.org/support/plugin/yet-another-stars-rating/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yet-another-stars-rating/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yet-another-stars-rating/reviews/)

## Tags

 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 12 replies
 * 3 participants
 * Last reply from: [dudo](https://wordpress.org/support/users/dudo/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/elementor-issue-shortcode/#post-12838977)
 * Status: resolved