We recently moved our site over to Drupal 7. During development, we were able to index the site using Acquia search and the solr modules without issue. However, sometime between our last tests and our launch something went wrong and our index will now no longer run.
We receive the error:
Fatal error: Cannot use string offset as an array in /var/www/[...]/public/profiles/acquia/modules/apachesolr/apachesolr.index.inc on line 853
Cron is not running on our site due to this error, and this is causing massive problems as emails and other notifications are not being sent. In addition, half our content has not been indexed so our search is basically useless.
I have tried the following to attempt to fix the issue with no avail:
- Checked database
field_body_valuefor any php code that may be causing problems, such as drupal_goto, etc.
- Removed all pages that use the PHP filter except where absolutely necessary
Our site successfully indexed about 1200 nodes out of 2400, but it will progress no further. The error gives us absolutely no indication of which node it is stuck on so we can fix it!
Is there any way to determine which node was indexed last so we have a better idea of where the error exists, or does anyone else have any suggestions on how to repair this error?