When I unsubscribe from a group which is set to revoke a role upon leaving group I get an error:

"Fatal error: Call to undefined function: array_diff_key() in /home/stpaulsa/drupal-5.7/sites/all/modules/og_default_roles/og_default_roles.module on line 139"

My site uses:

OG Defaul Roles 5.x-1.1
Organic Groups 5.x-5.0
Drupal 5.7
MySQL 4.1.22
PHP 4.4.4

Comments

Josh Benner’s picture

Assigned: Unassigned » Josh Benner

This is because array_diff_key was introduced in php 5.1. I'll refactor to not require this function.

Josh Benner’s picture

Status: Active » Fixed

Dependence on array_diff_key() is removed in 1.2.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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