Found one more:

creating a new layer http://dummy.onedaygermany.com/en/admin/build/openlayers/layers/add/open...

I got:

Fatal error: Call to undefined method stdClass::save() in /kunden/163565_20459/webseiten/onedaygermany/sites/all/modules/openlayers/modules/openlayers_ui/includes/openlayers_ui.layers.inc on line 59

Cheers

Dirk

Comments

tmcw’s picture

Status: Active » Closed (duplicate)

Fixed in http://drupal.org/node/787912

Views Vector layers are Views. Create a view. Follow the tutorial.

dgtlmoon’s picture

Version: 6.x-2.0-alpha6 » 6.x-2.x-dev
Status: Closed (duplicate) » Active

Either way, it's really not nice when I press submit and see.. is there some better way to handle this? i just get a whitescreen but the following error in my logs..




[Wed Apr 20 00:32:28 2011] [error] [client 127.0.0.1] PHP Fatal error:  Call to undefined method stdClass::save() in /var/www/xxx/sites/all/modules/openlayers/modules/openlayers_ui/includes/openlayers_ui.layers.inc on line 58, referer: http://goulash.localhost/?q=admin/build/openlayers/layers/add/openlayers_views_vector
zzolo’s picture

Priority: Critical » Normal

I can confirm this error. The odd thing is that this should not happen. Ideally, the vector layer is using the normal layer type base class as its parent and therefore should have a valid save method with it.

mgifford’s picture

Component: OpenLayers UI » OL API
zzolo’s picture

Status: Active » Fixed

I have moved that layer type out of the interface as it should not be in there.

Status: Fixed » Closed (fixed)

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