SyntaxError: Unexpected token ‘P’, “Posts excl”… is not valid JSON

  • ufo56
    Participant
    1 year, 7 months ago #30696

    Hi

    Im getting this error when trying to index products. Out of ideas here what can be wrong…
    SyntaxError: Unexpected token ‘P’, “Posts excl”… is not valid JSON
    WP: 6.0.1
    Elasticsearch: 7.17.6
    WPSolr: 22.3

    ufo56
    Participant
    1 year, 7 months ago #30697
    wpsolr
    Keymaster
    1 year, 7 months ago #30698

    Looking at the debug log, it seems that the “categories” taxonomy contains objects instead of simple texts.

    For instance:
    { “name”: “pa_type-2”, “value”: “187875”, “position”: “1”, “is_visible”: “1”, “is_variation”: “0”, “is_taxonomy”: “1” }

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.