Error message: SyntaxError: Unexpected token P in JSON at position 0
- pseudo visitorParticipant5 years ago #8723
I need to index some additional ACF fields and I am trying to test this on our staging server but I am unable to complete this as the attached error is generated.
An error or timeout occured. Error code: parsererror Error message: SyntaxError: Unexpected token P in JSON at position 0wpsolrKeymaster5 years ago #8724
Procedure to find and discard the post(s) with an indexing issue:
– set batch size “1”
– Set debug mode “on”
– Synchronize until it stops on error
– Synchronize again (to see only the post id in error in debug message)
– edit the post, mark it as “not searchable” in the WPSOLR post metabox
– do again the whole procedure
Also check your Solr/Elasticsearch logs.2 years, 4 months ago #27356
I’m having this same issue.
I followed the steps above and the error I”m getting from Solr is
Exception writing document id 126 to the index; possible analysis error.which isn’t super helpful. When I mark one unsearchable, the next one shows up. I also tried indexing different post types to see if it was specific to one type and it happens on the first item every time, just the document ID changes. So I don’t think it’s content-specific.
WPSOLR PRO 22.0
OpenSolr v 7 – US-EAST-SOLR-7-0
You must be logged in to reply to this topic.