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.

CommentFileSizeAuthor
#1 openlayers_solr-fixes-1605188.patch6.15 KBacbramley
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

acbramley’s picture

Status: Active » Needs review
FileSize
6.15 KB

This 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

indytechcook’s picture

Status: Needs review » Fixed

Thanks. Would you like to take the module over or become a maintainer?

http://drupalcode.org/project/openlayers_solr.git/commit/d9542a5

acbramley’s picture

I 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

indytechcook’s picture

You are now a maintainer! Cheers!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.