Thread Starter
BlueGlass
(@blueglassinteractive)
Correction, not twice, once, but without <script>
Issue comes from here: echo "<script type='application/ld+json' class='", esc_attr( $class ), "'>", self::format_json_encode( $output ), '</script>', "\n";
Removing the class, fixes the issue…
What could it be?
Thread Starter
BlueGlass
(@blueglassinteractive)
classes “yoast-schema-graph yoast-schema-graph–main” in script, brake it and make it output the json without script tag… If I remove the “yoast” from class names, json outputs correctly… :/
That’s probably because another plugin or code is trying to remove stuff with yoast in it from your frontend, a clean up plugin of some sorts that’s acting to aggressively?
This thread has been marked as resolved due to lack of activity.
You’re always welcome to re-open this topic. Please read this post before opening a new request.
Thanks for understanding!