Plugin Contributor
dudo
(@dudo)
Hi,
I will try to reproduce the error and let you know, thank you for sharing this.
Plugin Contributor
dudo
(@dudo)
I’m not able to reproduce the issue, can you please paste a screenshoot of your settings?
Hi,
First of all thanks for the help!
Here is a screenshot of when I click to open “YASR settings” in the page editor:
View post on imgur.com
The log is:
TypeError: Cannot read property ‘yasr_overall_rating’ of undefined
at ref …
-
This reply was modified 5 years, 3 months ago by
pmdaniel.
-
This reply was modified 5 years, 3 months ago by
pmdaniel.
I guess this is related with the custom post type, because if i create a normal post, it doesn’t happen.
My post here was held for moderation because of the logs in it…
Here is a screenshot of when I click to open “YASR settings” in the page editor:
View post on imgur.com
Thanks!
-
This reply was modified 5 years, 3 months ago by
pmdaniel.
Plugin Contributor
dudo
(@dudo)
I’m trying again and again but not able to reproduce it.
Which plugins do you have installed?
I was wrong, it also happens with the posts, without cpt ui.
Let’s go by steps
I created a new post, added only the block “yasr: visitor votes” and saved the draft.
When I reopen it gives me the following error:
“This block countains unexpected or invalid content”
The console shows:
View post on imgur.com
I noticed that the shortcode brings the postid with the post id of the post I created.
If I do “Attempt block recovery”, the block recovers and the postid disappears.
Also,
In a post (not a custom post) if I open the YASR Settings it always works without problems.
But, in a custom post (cpt ui) it also gives me the error:
“The editor has encountered an unexpected error.”
And the console shows the following:
TypeError: Cannot read property ‘yasr_overall_rating’ of undefined
in that case I can never open the editor again. I have to disable the plugin or go to a normal post and change to the general settings
Thanks a lot for the help!
-
This reply was modified 5 years, 3 months ago by
pmdaniel.
-
This reply was modified 5 years, 3 months ago by
pmdaniel.