I don't know if this is related to my previous ND Search issue, but when ND Search is enabled, and I index/re-index my site content, I get the following error message for almost every item being indexed when I run cron:
warning: preg_match() expects parameter 2 to be string, array given in [...]/includes/bootstrap.inc on line 896
At the end, it says "Cron ran successfully." With ND Search disabled, I don't get these error messages when I re/index my content.
From bootstrap.inc, lines 895-896:
// For performance reasons this logic is duplicated in check_plain().
return (preg_match('/^./us', $text) == 1);
Any thoughts on why I'm receiving this error?
Module versions:
* Display suite: Latest dev versions for ND and ND contrib (and DS, CD, and VD)
* Apache Solr: 6.x-2.x-dev
Comments
Comment #1
rhymeswithcamera commentedI am now able to index the site with ND Search enabled. I didn't change anything with Solr or DS. I think it may be related to a Solr-related patch that was recently released for Content Taxonomy, which I applied.
Comment #2
gaëlgI face the same problem when enabling ND search.
Comment #3
swentel commentedI need more info, which version of apache solr, other modules that might be enabled which can cause this problem.
Comment #4
com_net commentedthe same warning.
Apache Solr Search Integration 6.x-2.0-beta2 (other versions incompatible with certain used modules)
Apache Solr PHP Client Library: Correct version "Revision: 22"
Display suite 6.x-1.4
this warning appears immediately after changing ND->APache SOLR->build mode=Products in catalog grid view.
Comment #5
com_net commentedadditional information: