After reinstalling the module, Apache Solr Beta 16, and Profile 2, I get the following on update.php load

Notice: Undefined index: bundles in profile2_apachesolr_entity_info_alter() (line 19 of /var/www/html/sites/all/modules/profile2_apachesolr/profile2_apachesolr.module).

Comments

jaapjan’s picture

Status: Active » Needs review
StatusFileSize
new2.1 KB

I think we should check if the variable exists before setting the index to true.

The attached patch should fix it, please test.

Status: Needs review » Needs work

The last submitted patch, profile2_apachesolr-fix_for_undefined_index-1477336.patch, failed testing.

dzieyzone’s picture

StatusFileSize
new1.17 KB

Here's a patch for the error and also fix the status callback to be an array.

pwaterz’s picture

Status: Needs work » Closed (duplicate)