Newlines are not valid inside json strings. However you are outputting this code or otherwise checking it for sanity is somehow adding newlines into your long strings here.
Check that your strings really are all one line and not broken up into multiple lines.
Related Posts:
- Stop WordPress Wrapping Images In A “P” Tag
- Stop WordPress automatically adding tags to post content
- Get content from one page and show it on another page
- Strategy for handling hierarchical pages with empty parent content
- How to remove Nextpage tag inside posts text depending of utm_campaign
- WP Rest API v2 filter and display latest post with specific tag
- How to query serialized array by comparing greater than (>=)?
- How can you make sure authors’ posts are longer than 250 words?
- Add default content to post (for specific category)
- how to limit and display tag?
- Programmatically inserting page breaks
- Hide parts of the post content on the home page
- Filter/Remove HTML Elements on all posts and pages
- Paragraphs removed when using get_post_custom()?
- Load post content into div with ajax
- Disable REST API for a user ROLE
- ping_status in JSON REST API
- How to update serialized post meta?
- Testing for post title in ‘if/else’ statement returns no content
- Same content shared between multiple posts?
- how load content as pop-up using ajax
- Create post using JSON api plugin
- How to get only text from wordpress post content?
- Batch process: remove first image from post content
- Why content_arr[‘extended’] removes paragraph tags?
- WordPress REST API not returning all posts
- JSON – Permission Error?
- Unautop / Sanitize content added to a post through a plugin
- is there a way to show the the post title after the image?
- How to get rid of shortcodes in post content once and for all
- Add Word Limit to Posts
- Insert woocommerce products programmatically with featured image and gallery
- How to create a post using REST API with sending data as a JSON body?
- Add multiple tags to multiple posts
- Show only one page link in content pagination
- How to disable WordPress blog folder
- Show only posts with images and a fixed amount of posts
- Custom order for Mysql array
- How to create new post content templates for my users?
- How do I do a page break?
- how to get post order by post id wp_query?
- How to get a post’s content? [closed]
- Why does a published post only displays the title and not the content in the site? [closed]
- Best Way to Add UnEditable HTML to Posts
- The_excerpt() doesn’t parse – how to change that?
- Page and post loop same template
- Benefits to using semantic HTML in post content? [closed]
- Querying another post category to match current post and display in loop
- the_content() Not Grabbing All Content
- Get latest post from categories
- Can’t save WordPress post with “/etc/” in it
- content summary of a post disappears If an images added at the beginning of the post. how to solve it?
- Hide parts of the post content after typing it’s name or searching it by category
- How to exclude the word “class” from being matched in search?
- Preview page/post revisions without overwriting current content
- Posts and Pages w. private visibility don’t show up in existing content
- Categories Listing and Highlighting current category item
- definining own teaser text for post
- Add text and change style to post programmatically depending on category
- Optimal WP Web App Backend for mobile app development
- why my urdu text is not aligned properly when written in wordpress blog post?
- Format array of objects to json for wp-json
- How to Remove HTML Elements from Post Excerpt?
- Save / Update meta data as multidimensional array
- Merge get_comments & get_posts into a single query
- My website is showing today’s date instead of published date since db migration to a new wordpress
- Related post not showing table of content
- exclude particular category in api
- Loading posts outside wordpress
- How to create REST Based JSON API(how to modify the code below)?
- How do I set content in my pages so that it remains permanent while blog posts are added below?
- WordPress text field in array problem
- Nothing appears using get_the_excerpt() in category.php
- WordPress each user has each content for a page,how to do that?
- Add caption to thumbnails in content
- Get the correct meta_value with get_post_meta
- Adding div to WordPress page content
- I am not getting result from php function that is json encoded
- Adding editable content above posts
- How to get post_content while the post is being edited
- Custom template for different post types
- Correcting the content width when sidebar is inactive?
- Multiple approval from editors before publishing?
- Get current user array with post string
- Sort Posts Alphabetically by Multiple Categories [duplicate]
- Get part of a page url
- Why is $_POST Empty in Profile Edit Admin?
- How can i show only 30% of the “the_content(“More…”)”?
- How to use wp_editor(); in functions.php then retrieve content in the template
- Add default content to post (for specific category)
- Adding a time stamp on post view
- jquery: getting contents of #content field on post page
- Stripping tag from elements in post
- Exclude a ‘portfolio’ custom category?
- What does WordPress mean by they have full rights to content [closed]
- posts_per_page – Repeats only first posts ‘post__in’ array
- After the local installation of an old WP website I can see the homepage but I can’t access to the articles, why?
- How to create a cumulative posts and members count
- wordpress pinboard theme [closed]
- Automatically search and replace link in content (pages/posts)?