The problem is that in the og_views_feed function the view is getting set like so: $view = views_get_view(variable_get('og_home_page_view', 'og_ghp_ron'));

However if the group home page is set to none then the above error is thrown when the feed url is accessed.

Solution -- do not set drupal_add_feed on line 221 in og_views_view_group if group homepage is set to none and create feed manually in theme.

Comments

moshe weitzman’s picture

Status: Active » Fixed

committed a fix.

Status: Fixed » Closed (fixed)

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

j0nathan’s picture

Version: 6.x-2.0-rc1 » 6.x-2.1
Status: Closed (fixed) » Active

Hi,
I still get the error message on the feed's page when Group home page view is set to None.

I'm using Organic groups 6.x-2.1 and OG Panels 6.x-2.0. The feed appears automatically on OG Panels pages, which I don't want (but this is another support request), so I have to set a group home page if I don't want any error on the feeds.

colan’s picture

Marking http://drupal.org/node/836692 as a duplicate of this issue.

Stack trace:

  1. {main}() /path/to/site/index.php:0
  2. menu_execute_active_handler() /path/to/site/index.php:18
  3. call_user_func_array() /path/to/site/includes/menu.inc:348
  4. og_views_feed() /path/to/site/includes/menu.inc:0