Notice: Undefined index: env_id in apachesolr_settings() (line 352 of /Users/Shared/www/modules/apachesolr/apachesolr.admin.inc).
Notice: Undefined index: env_id in apachesolr_settings() (line 362 of /Users/Shared/www/modules/apachesolr/apachesolr.admin.inc).
Notice: Undefined index: env_id in apachesolr_settings() (line 370 of /Users/Shared/www/modules/apachesolr/apachesolr.admin.inc).
Notice: Undefined index: env_id in apachesolr_settings() (line 377 of /Users/Shared/www/modules/apachesolr/apachesolr.admin.inc).
Notice: Undefined index: env_id in apachesolr_settings() (line 385 of /Users/Shared/www/modules/apachesolr/apachesolr.admin.inc).
Notice: Undefined index: name in apachesolr_settings() (line 389 of /Users/Shared/www/modules/apachesolr/apachesolr.admin.inc).
Notice: Undefined index: env_id in apachesolr_settings() (line 389 of /Users/Shared/www/modules/apachesolr/apachesolr.admin.inc).
Notice: Undefined index: env_id in apachesolr_settings() (line 413 of /Users/Shared/www/modules/apachesolr/apachesolr.admin.inc).
Notice: Undefined index: service_class in apachesolr_settings() (line 423 of /Users/Shared/www/modules/apachesolr/apachesolr.admin.inc).
Comment | File | Size | Author |
---|---|---|---|
#4 | 1921308_apachesolr_entity_get_callback_return_type.patch | 755 bytes | mkalkbrenner |
Comments
Comment #1
pwolanin CreditAttribution: pwolanin commentedAnd when enabling a module:
Notice: Undefined index: name in apachesolr_facetapi_searcher_info() (line 273 of /Users/Shared/www/modules/apachesolr/apachesolr.module).
Notice: Undefined index: name in apachesolr_facetapi_searcher_info() (line 273 of /Users/Shared/www/modules/apachesolr/apachesolr.module).
Notice: Undefined index: name in apachesolr_facetapi_searcher_info() (line 273 of /Users/Shared/www/modules/apachesolr/apachesolr.module).
Notice: Undefined index: name in apachesolr_facetapi_searcher_info() (line 273 of /Users/Shared/www/modules/apachesolr/apachesolr.module).
Notice: Undefined index: name in apachesolr_facetapi_searcher_info() (line 273 of /Users/Shared/www/modules/apachesolr/apachesolr.module).
Notice: Undefined index: name in apachesolr_facetapi_searcher_info() (line 273 of /Users/Shared/www/modules/apachesolr/apachesolr.module).
Comment #2
Tom.Camp CreditAttribution: Tom.Camp commentedDid you define an environment in your settings.php file and then define one in the Solr admin page? When I did that I received the same notices that you are getting. Once I commented out my environment in settings.php, the errors went away.
Comment #3
mkalkbrennerapachesolr_environment_load_subrecords() is full of undefined vars, toono, they are defined by extract()
Comment #4
mkalkbrennerI started some cleanup.
Here's a first patch to declare the right return type of apachesolr_entity_get_callback() for static code analyzer.