Forum Replies Created
-
aksmParticipant3 years, 8 months ago in reply to: SyntaxError: Unexpected token { in JSON at position 1314 #16593
That seems to do it. Thanks!
aksmParticipant3 years, 8 months ago in reply to: SyntaxError: Unexpected token { in JSON at position 1314 #165877.4
aksmParticipant3 years, 8 months ago in reply to: SyntaxError: Unexpected token { in JSON at position 1314 #16585Same error with single document.
Hmm, I’m just noticing now an error at the bottom of the dashboard debugging:
{“nb_results”:0,”status”:8,”message”:”Error on line 384 of file \/var\/www\/wordpress\/wp-content\/plugins\/wpsolr-pro\/wpsolr\/core\/ajax_solr_services.php: Trying to access array offset on value of type null”,”indexing_complete”:false}
Could it be a PHP version problem?
aksmParticipant3 years, 8 months ago in reply to: SyntaxError: Unexpected token { in JSON at position 1314 #16583Yup, all documents are there.
aksmParticipant3 years, 8 months ago in reply to: SyntaxError: Unexpected token { in JSON at position 1314 #16581Still getting the same error after recreating the index. I think that debug.log might be an old error. I cleared before recreating, and there’s nothing there now.
What’s odd is that if I stop the indexing in the middle of the error, the dashboard shows that all the documents are in the index.
aksmParticipant3 years, 8 months ago in reply to: SyntaxError: Unexpected token { in JSON at position 1314 #16577Name: local_search
path: /solr/wams
scheme: http
host: localhostaksmParticipant3 years, 8 months ago in reply to: SyntaxError: Unexpected token { in JSON at position 1314 #16575Nothing in Solr logs, but I’m seeing this in debug.log:
<h1>Forbidden</h1>
<p>You don’t have permission to access /solr/search/select
on this server.</p>
<hr>
<address>Apache/2.4.7 (Ubuntu) Server at us-west-solr7.solrcluster.com Port 443</address>
</body></html>
in /var/www/wams/wp-content/plugins/wpsolr-pro/wpsolr/core/vendor/solarium/solarium/library/Solarium/Core/Query/Result/Result.php:106
Stack trace:
#0 /var/www/wams/wp-content/plugins/wpsolr-pro/wpsolr/core/vendor/solarium/solarium/library/Solarium/Core/Client/Client.php(742): Solarium\Core\Query\Result\Result->__construct(Object(Solarium\Client), Object(Solarium\QueryType\Select\Query\Query), Object(Solarium\Core\Client\Response))
#1 /var/www/wams/wp-content/plugins/wpsolr-pro/wpsolr/core/vendor/solarium/solarium/library/Solarium/Core/Client/Client.php(774): Solarium\Core\Client\Client->createResult(Object(Solarium\QueryType\Select in /var/www/wams/wp-content/plugins/wpsolr-pro/wpsolr/core/vendor/solarium/solarium/library/Solarium/Core/Query/Result/Result.php on line 106aksmParticipant3 years, 8 months ago in reply to: SyntaxError: Unexpected token { in JSON at position 1314 #16567elevate.xml
schema.xml
solrconfig.xml
stopwords.txtaksmParticipant3 years, 8 months ago in reply to: SyntaxError: Unexpected token { in JSON at position 1314 #16559The index hasn’t been changed since it was last working. I also deleted and recreated and continue to have the same issue.
aksmParticipant3 years, 8 months ago in reply to: SyntaxError: Unexpected token { in JSON at position 1314 #16555Local Solr instance on the same server.
aksmParticipant3 years, 8 months ago in reply to: SyntaxError: Unexpected token { in JSON at position 1314 #16553Search is working. No console errors.
aksmParticipant3 years, 8 months ago in reply to: SyntaxError: Unexpected token { in JSON at position 1314 #16510Seems like it’s a lot of documents. Every time I add one to the exclusion list another comes up. We haven’t updated any of these posts so it must be something else.
aksmParticipant3 years, 8 months ago in reply to: SyntaxError: Unexpected token { in JSON at position 1314 #16487Thanks, any suggestions on how to find the offending documents?