In my status report I get this:

Apache Solr Multilingual - Missing field bias settings of environment ID solr.
This solr index contains new searchable fields. These fields are ignored until you configured and saved the Field biases.

When I click on on the "Field biases" link I get this:

Fatal error: Class 'e' not found in /home/myusername001/mysite001/code/sites/all/modules/apachesolr/apachesolr.module on line 1458

line 1458 is:

     $solr = new $class($url);

I'm using the last Apache Solr Search version 7.x-1.6 module.

Any ideas?

Comments

mkalkbrenner’s picture

Do you still see the link on "/admin/reports/status"? Or did it only occur directly after the upddate?

Can you post the link itself?

Jean Gionet’s picture

It occurred right after the update. What I did though, is go through all the settings for the Apache Solr module and hit save settings. This seems to have fixed whatever was messed up.

mkalkbrenner’s picture

Status: Active » Fixed

I don't know what was going on in your setup.
But Apache Solr 1.5 introduced some new stuff which has been reverted in 1.6. Maybe your issue was caused by that and has been "fixed" by saving the forms.

If anyone runs into a similar issue, please reopen this issue.

Daemon_Byte’s picture

I got the same error but the same solution worked. Just going to the bias page and clicking save allowed the search to work again but still getting the error on the status page.

Daemon_Byte’s picture

Status: Fixed » Active
Daemon_Byte’s picture

I nailed it down. In the requirement function on line 1042 you have an if statement that says is_array but it is an object so it fails. If you change that to just is_empty then it works fine.

if (!is_array($fields) || empty($fields)) {

to

if (empty($fields)) {

Daemon_Byte’s picture

Version: 7.x-1.0-rc1 » 7.x-1.x-dev
Status: Active » Closed (fixed)

Nevermind. I see you fixed it in dev. Sorry :)

mkalkbrenner’s picture

Status: Closed (fixed) » Closed (duplicate)

Thanks for your feedback. So it seems that this issue - or the fix - is a duplicate of
#2150365: Requirement error: Field bias settings of environment ID solr could not be verified.

mas0h’s picture

It's not fixed, I have the same status report message

Apache Solr Multilingual Missing field bias settings of environment ID solr.
This solr index contains new searchable fields. These fields are ignored until you configured and saved the Field biases.

When following the link admin/config/search/apachesolr/env-solr/bias I get a blank page with the same error code:

Fatal error: Class 'e' not found in /mysite/httpdocs/sites/all/modules/apachesolr/apachesolr.module on line 1458

I'm using the latest dev version 2013-Dec-16

mkalkbrenner’s picture

Status: Closed (duplicate) » Needs review

OK, I'll review it again. Which version of apachesolr.module are you using?

mas0h’s picture

I'm using the latest dev of apache solr.

mas0h’s picture

Error disappeared after enabling "Apache Solr Config Generator"
https://drupal.org/project/apachesolr_confgen

Why this is not obvious at the module installation process, this should be a required module for installation

EDIT: Sorry the error still exists!

mkalkbrenner’s picture

@mas0h: Did you try 7.x-1.x-dev as stated in #7?

mas0h’s picture

@mkalkbrenner: Yes I'm using the latest dev from both apache solr and apache solr multilingual