Error: SyntaxError: Unexpected token P in JSON at position 0

  • DotComCJ
    Participant
    2 years, 6 months ago #27943

    Getting this error when testing:

    SyntaxError: Unexpected token P in JSON at position 0

    Using the MyListing theme.

    Trying to follow this article:

    https://www.wpsolr.com/guide/configuration-step-by-step-schematic/activate-extensions/mylisting-add-on/

    Log File:

    Error code: parsererror

    Error message: SyntaxError: Unexpected token P in JSON at position 0

    (removed by WPSOLR)

    wpsolr
    Keymaster
    2 years, 6 months ago #27944

    It is generally a problem of bad characters during WordPress import.

    Check out more details: https://www.wpsolr.com/forums/topic/error-when-indexing-products/#post-21870

    DotComCJ
    Participant
    2 years, 6 months ago #27945

    Hi so I already tried this with a dummy listing without the import.

    Still giving the same error.

    wpsolr
    Keymaster
    2 years, 6 months ago #27946

    Edit your listing in the admin, and publish it. You should see no errors but a notice “(WPSOLR) Indexed …”.

    DotComCJ
    Participant
    2 years, 6 months ago #27947

    Can I please get some remote help with this issue?
    I’ve tried multiple things already, maybe you can be a help with this.

    wpsolr
    Keymaster
    2 years, 6 months ago #27948

    Edit your listing in the admin, and publish it. You should see no errors but a notice “(WPSOLR) Indexed …”.

    Did it work?

    DotComCJ
    Participant
    2 years, 6 months ago #27949

    No, nothing updated

    wpsolr
    Keymaster
    2 years, 6 months ago #27950

    What was the message?

    DotComCJ
    Participant
    2 years, 6 months ago #27951

    I got the same message in the debug log as before I updated.
    I’ve tried multiple times, can I please get some remote help with this?
    I’d love to promote this product but I can’t seem to get it to work for us.

    wpsolr
    Keymaster
    2 years, 6 months ago #27952

    We don’t do remote support. But it would not help in your case, as there is nothing to see for us but this error message.

    You can try to create a brand new index from WPSOLR (to be sure it is configured with the proper settings), and try to publish your listing again.

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

You must be logged in to reply to this topic.