This error shows up fairly often. This patch should get rid of the error.
Great! it worked.
Patch in #1 works perfectly.
Applied to privatemsg-7.x-2.x-dev
Error triggered from salesforce, sf_entity module adding local task.
Automatically closed -- issue fixed for 2 weeks with no activity.
Drupal is a registered trademark of Dries Buytaert.