When editing a map:
admin/structure/openlayers/maps/geogratis/edit

Or viewing a block which includes the map I get a fatal error. Last few messages before it dies (at 200) is:

196	3.0511	100006792	views_plugin_display->construct( )	../handlers.inc:63
197	3.0511	100006992	views_get_enabled_display_extenders( )	../views_plugin_display.inc:224
198	3.0511	100007712	views_fetch_plugin_names( $type = 'display_extender', $key = ???, $base = ??? )	../plugins.inc:561
199	3.0511	100007952	views_fetch_plugin_data( $type = ???, $plugin = ???, $reset = ??? )

I'm not sure if it's related to:

#1254770: Fatal Error when trying to update module

CommentFileSizeAuthor
#4 geofield-set-to-openlayers-wrong.png30.96 KBsokrplare
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

zzolo’s picture

Category: bug » support
Priority: Critical » Normal
Status: Active » Postponed (maintainer needs more info)

Hey @mgifford. Are you still running into this. What is the full error message (with line number).

I assume you are using a data overlay with this map? If so, make sure you see data in the preview of that data overlay.

mgifford’s picture

I'll see if I can replicate it with the new dev version. If so I'll get the full line number and send it your way.

katrialesser’s picture

I'm getting this error with my view. ***With Drupal 6 ***

" Fatal error: Maximum function nesting level of '100' reached, aborting! in C:\wamp\www\includes\bootstrap.inc on line 2492 "
(notice mine is a local installation right now)

I have a pretty simple view - user view that I tried to create a relationship to Content Profile, and i think it worked, I tried to add a filter checkbox from the content profile but that's giving me issues always going to "False" and not true, and then not returning things, and then I got this error.

I'm also getting this error sometimes when I click on a field/filter to edit it:

An error occurred at /admin/build/views/ajax/config-item/committee_members/default/field/value.
Error Description: 404: Not Found

Any ideas?

sokrplare’s picture

I ran into the same issue when I was first working with OpenLayers today and didn't quite get what went where. I had set my OpenLayers Data Overlay view display geofield (whew!) to use the OpenLayers formatter and then picked the same map style that was going to eventually display the data!

A good resource to see what it should be set to can be found in Nate Hoag's video and tutorial: http://water.drupalgardens.com/blog/openlayers-tutorial-drupal-7 (at 3:55 in the video).

I've also attached a screenshot of what I'm describing above - pick WKT instead!

sokrplare’s picture

Hmmm...while that fixed things when I had the data overlay and map in separate views, when I put them into the same View (which I had to to provide exposed filters) the error returned. Switched to dev version and it worked so possibly a fixed issue.

Matt V.’s picture

In case this might help someone else…

I was getting the same message ("Fatal error: Maximum function nesting level reached, aborting!") with any maps I tried to create. Ultimately, what seemed to fix the problem was updating CTools to the latest release. YMMV.

Matt V.’s picture

I take back what I said above in Comment #6. The fix I mentioned apparently only fixed the error temporarily. I have a map with points added by Views and it was working fine over the weekend, after I updated the CTools module. The map still works in the preview on admin/structure/views/view/map/edit as well as the admin/structure/openlayers/maps/geofield_formatter_map_clone/edit page.

However, this morning on the page where I have the map view set to display, instead of the map, I get the error below again:

Fatal error: Maximum function nesting level of '100' reached, aborting! in /home/quickstart/websites/site/includes/database/database.inc on line 718

Call Stack:
0.0003 643312 1. {main}() /home/quickstart/websites/site/index.php:0
0.2407 36586328 2. menu_execute_active_handler() /home/quickstart/websites/site/index.php:21
0.2408 36587512 3. call_user_func_array() /home/quickstart/websites/site/includes/menu.inc:516
0.2408 36588128 4. views_page() /home/quickstart/websites/site/includes/menu.inc:0
0.2813 44234512 5. view->execute_display() /home/quickstart/websites/site/sites/all/modules/contrib/views/views.module:466
0.4233 49660312 6. views_plugin_display_page->execute() /home/quickstart/websites/site/sites/all/modules/contrib/views/includes/view.inc:1244
0.4307 50531792 7. view->render() /home/quickstart/websites/site/sites/all/modules/contrib/views/plugins/views_plugin_display_page.inc:224
0.4327 50853016 8. views_plugin_display->render() /home/quickstart/websites/site/sites/all/modules/contrib/views/includes/view.inc:1181
0.4351 51328592 9. theme() /home/quickstart/websites/site/sites/all/modules/contrib/views/plugins/views_plugin_display.inc:2533
0.4382 52122960 10. template_preprocess_views_view() /home/quickstart/websites/site/includes/theme.inc:1106
0.4382 52123096 11. openlayers_views_style_map->render() /home/quickstart/websites/site/sites/all/modules/contrib/views/theme/theme.inc:51
0.4406 52357664 12. openlayers_render_map() /home/quickstart/websites/site/sites/all/modules/contrib/openlayers/modules/openlayers_views/views/openlayers_views_style_map.inc:66
0.4406 52357664 13. openlayers_render_map_data() /home/quickstart/websites/site/sites/all/modules/contrib/openlayers/openlayers.module:265
0.4406 52357664 14. openlayers_build_map() /home/quickstart/websites/site/sites/all/modules/contrib/openlayers/openlayers.module:201
0.4422 52435816 15. _openlayers_layers_process() /home/quickstart/websites/site/sites/all/modules/contrib/openlayers/openlayers.module:168
0.4612 53317840 16. openlayers_layer_type_openlayers_views_vector->render() /home/quickstart/websites/site/sites/all/modules/contrib/openlayers/includes/openlayers.render.inc:39
0.4612 53320816 17. openlayers_layer_type_openlayers_views_vector->get_features() /home/quickstart/websites/site/sites/all/modules/contrib/openlayers/modules/openlayers_views/plugins/layer_types/openlayers_views_vector.inc:80
0.4614 53335664 18. view->execute_display() /home/quickstart/websites/site/sites/all/modules/contrib/openlayers/modules/openlayers_views/plugins/layer_types/openlayers_views_vector.inc:63
0.4660 53474960 19. openlayers_views_plugin_display_openlayers->execute() /home/quickstart/websites/site/sites/all/modules/contrib/views/includes/view.inc:1244
0.4660 53475040 20. view->render() /home/quickstart/websites/site/sites/all/modules/contrib/openlayers/modules/openlayers_views/views/openlayers_views_plugin_display_openlayers.inc:18
0.4686 53569344 21. openlayers_views_plugin_display_openlayers->render() /home/quickstart/websites/site/sites/all/modules/contrib/views/includes/view.inc:1181
0.4686 53569344 22. openlayers_views_style_map->render() /home/quickstart/websites/site/sites/all/modules/contrib/openlayers/modules/openlayers_views/views/openlayers_views_plugin_display_openlayers.inc:26
0.4690 53575336 23. openlayers_render_map() /home/quickstart/websites/site/sites/all/modules/contrib/openlayers/modules/openlayers_views/views/openlayers_views_style_map.inc:66
0.4690 53575336 24. openlayers_render_map_data() /home/quickstart/websites/site/sites/all/modules/contrib/openlayers/openlayers.module:265
0.4690 53575336 25. openlayers_build_map() /home/quickstart/websites/site/sites/all/modules/contrib/openlayers/openlayers.module:201
0.4692 53580888 26. _openlayers_layers_process() /home/quickstart/websites/site/sites/all/modules/contrib/openlayers/openlayers.module:168
0.4699 53596240 27. openlayers_layer_type_openlayers_views_vector->render() /home/quickstart/websites/site/sites/all/modules/contrib/openlayers/includes/openlayers.render.inc:39
0.4699 53596240 28. openlayers_layer_type_openlayers_views_vector->get_features() /home/quickstart/websites/site/sites/all/modules/contrib/openlayers/modules/openlayers_views/plugins/layer_types/openlayers_views_vector.inc:80
0.4702 53611088 29. view->execute_display() /home/quickstart/websites/site/sites/all/modules/contrib/openlayers/modules/openlayers_views/plugins/layer_types/openlayers_views_vector.inc:63
0.4754 53749504 30. openlayers_views_plugin_display_openlayers->execute() /home/quickstart/websites/site/sites/all/modules/contrib/views/includes/view.inc:1244
0.4754 53749584 31. view->render() /home/quickstart/websites/site/sites/all/modules/contrib/openlayers/modules/openlayers_views/views/openlayers_views_plugin_display_openlayers.inc:18
0.4772 53842744 32. openlayers_views_plugin_display_openlayers->render() /home/quickstart/websites/site/sites/all/modules/contrib/views/includes/view.inc:1181
0.4772 53842744 33. openlayers_views_style_map->render() /home/quickstart/websites/site/sites/all/modules/contrib/openlayers/modules/openlayers_views/views/openlayers_views_plugin_display_openlayers.inc:26

…lines 34-88 repeat the same loop as 23-33 above (5 times)…

0.5321 55215736 89. openlayers_render_map() /home/quickstart/websites/site/sites/all/modules/contrib/openlayers/modules/openlayers_views/views/openlayers_views_style_map.inc:66
0.5321 55215736 90. openlayers_render_map_data() /home/quickstart/websites/site/sites/all/modules/contrib/openlayers/openlayers.module:265
0.5321 55215736 91. openlayers_build_map() /home/quickstart/websites/site/sites/all/modules/contrib/openlayers/openlayers.module:201
0.5323 55221288 92. _openlayers_layers_process() /home/quickstart/websites/site/sites/all/modules/contrib/openlayers/openlayers.module:168
0.5323 55222488 93. openlayers_layer_load() /home/quickstart/websites/site/sites/all/modules/contrib/openlayers/includes/openlayers.render.inc:24
0.5323 55223288 94. ctools_export_load_object() /home/quickstart/websites/site/sites/all/modules/contrib/openlayers/openlayers.module:350
0.5323 55223288 95. db_table_exists() /home/quickstart/websites/site/sites/all/modules/contrib/ctools/includes/export.inc:392
0.5323 55223288 96. DatabaseSchema_mysql->tableExists() /home/quickstart/websites/site/includes/database/database.inc:2732
0.5323 55223616 97. DatabaseConnection_mysql->queryRange() /home/quickstart/websites/site/includes/database/mysql/schema.inc:507
0.5323 55224416 98. DatabaseConnection->query() /home/quickstart/websites/site/includes/database/mysql/database.inc:82
0.5323 55226112 99. DatabaseConnection->expandArguments() /home/quickstart/websites/site/includes/database/database.inc:662

ressa’s picture

I was getting the same error. I had created an "Openlayers Map" in the same View as my "Openlayers Data Overlay", but forgot to select "This block (override)" so both were now "Openlayers Map", which was obviously not going to to work.

Also, in the "Openlayers Map" block I removed all fields under "Filter criteria" and "Sort criteria", and the map now shows up.

basvredeling’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (outdated)

Cleaning up the issue queue for #2670484: Stable 7.x-2.0 release.