Going off of this post https://drupal.org/node/1514180 (Node Reference URL Widget not compatible with OH 7.x-2.x-dev), making these changes to line
184
- $group_entity = og_get_context_by_url();
+ $group_entity = og_context_handler_url();
and line 192
- $link['query']['gids'] = array($group_entity->gid);
+ $link['query']['gids'] = array($group_entity['gid']);

Removed the Fatal Error message: Fatal error: Call to undefined function og_get_context_by_url() in ../sites/all/modules/userreference_url/userreference_url.module on line 184.

Comments

jibran’s picture

Version: 7.x-1.0 » 7.x-1.x-dev
Status: Active » Fixed

Thanks for creating the issue. Fixed in dev branch.

  • Commit e86f1fb on 7.x-1.x by jibran:
    Issue #2269937 by cybermache: User Reference URL Widget not compatible...

Status: Fixed » Closed (fixed)

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