There is a typo in linkedin.module which causes an infinite loop.

function linkedin_put_profile_field($uid, $body, $api = 'shares') {
  module_load_include('inc', 'linkedin');
  return linkedin_put_profile_field($uid, $body, $api);
}

Presumably this should be:

function linkedin_put_profile_field($uid, $body, $api = 'shares') {
  module_load_include('inc', 'linkedin');
  return _linkedin_put_profile_field($uid, $body, $api);
}

Note the leading '_' of the function name in the line return _linkedin_put_profile_field($uid, $body, $api);.

I have attached a patch file. This seems to fix the issue for me.

CommentFileSizeAuthor
linkedin.module.patch380 bytesdanieljrmay

Comments

davad’s picture

Status: Active » Fixed

Thanks for the patch. Committed the change.

Status: Fixed » Closed (fixed)

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