Error when indexing products
2 years, 3 months ago #21623
If you use PHP 7.4, a fix is available at: https://www.wpsolr.com/forums/topic/woocommerce-archive-pages-not-showing-products/page/3/2 years, 3 months ago #216312 years, 2 months ago #21868
(I’m working for 123bladmuziek)
The issue is not related to PHP versions and it happens only for one of 3 websites.
What does that error mean?
An error or timeout occured.
Error code: parsererror
Error message: SyntaxError: Unexpected token P in JSON at position 0
Looks more like some invalid data. Any advice how to debug this? The debug data doesn’t give any useful information.
I tried also a new index, the index process just stops every time for the last ~13000 products. The first 27000 are okay.2 years, 2 months ago #21870
To find the products with the error, you need to index with:
– Batch size “1”
– Debug mode “on”
The indexing will fail once. Stop and restart with the same settings, and you will see the ID of the product.
From there, you can edit the product, and try to fix the problem, or simply check its metabox “Do no search” to prevent its indexing.
You must be logged in to reply to this topic.