• Hello,

    I’m having trouble. I click on the register button, which takes me to the LinkedIn login page and when I do, it returns me a page with a list of errors similar to these:

    • Notice: Undefined property:stdClass::$summary in /path_to_project/wp-content/linkedin-login/includes/lib/PkliLogin.php on line 449
    • Notice: Trying to get property ‘url’ of non-object in /path_to_project/wp-content/linkedin-login/includes/lib/PkliLogin.php on line 450

    All errors occur from line 449 to 457 of PkliLogin.php. It seems that LinkedIn is not sending back the requested information from the user’s profile or something. However, when I check the worpdress users list as admin, I can see that the user is indeed being created.
    How can I avoid these errors?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • I had the same problem and I figured out why this occurs. Linkedin left sending some attributes from users like ‘summary’ and ‘site-standard-profile-request’ and others. I’ve removed this references in code. I’m thinking to make a Pull Request to project owner and solve this.

Viewing 1 replies (of 1 total)
  • The topic ‘Error getting user data from LinkedIn profile’ is closed to new replies.