Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Using Openlayers 7.x-2.0-beta1+46-dev, Openlayers Solr 7.x-1.x, Geofield 7.x-1.0 I'm getting countless watchdog errors when just editing the solr map:
Layer Apachesolr Integration is unavailable because its layer type or the module that provides its layer type is missing
Notice: Trying to get property of non-object in openlayers_layer_sanity_check() (line 403 of /var/www/drupal/transpower/sites/all/modules/contrib/openlayers/openlayers.module).
Layer does not have a projection set.
Notice: Undefined property: stdClass::$data in openlayers_get_layer_object() (line 288 of /var/www/drupal/transpower/sites/all/modules/contrib/openlayers/openlayers.module).
Notice: Undefined property: stdClass::$description in openlayers_get_layer_object() (line 284 of /var/www/drupal/transpower/sites/all/modules/contrib/openlayers/openlayers.module).
Notice: Trying to get property of non-object in openlayers_get_layer_object() (line 283 of /var/www/drupal/transpower/sites/all/modules/contrib/openlayers/openlayers.module).
Notice: Trying to get property of non-object in openlayers_ui_get_layer_options() (line 693 of /var/www/drupal/transpower/sites/all/modules/contrib/openlayers/modules/openlayers_ui/openlayers_ui.module).
I've also tried using this module with apachesolr panels and can't even get a debug to print out the results in the render function so not quite sure what's going on there. Any help would be appreciated, I've watched the video tutorial but that was using the standard search pages.
Comment | File | Size | Author |
---|---|---|---|
#1 | openlayers_solr-fixes-1605188.patch | 6.15 KB | acbramley |
Comments
Comment #1
acbramley CreditAttribution: acbramley commentedThis patch gets rid of all these errors and makes the module work with Apachesolr 7.x-1.0-beta19 and Openlayers 7.x-2.0-beta1+46-dev
Comment #2
indytechcook CreditAttribution: indytechcook commentedThanks. Would you like to take the module over or become a maintainer?
http://drupalcode.org/project/openlayers_solr.git/commit/d9542a5
Comment #3
acbramley CreditAttribution: acbramley commentedI would be happy to take this module over :) I have more changes that tidy some stuff up so would be great to get those in.
Cheers,
Adam
Comment #4
indytechcook CreditAttribution: indytechcook commentedYou are now a maintainer! Cheers!