I am using oauthconnector with connector, and have created connections to Facebook and Linkedin that grab some profile information (first name, last name, email address). When I clicked sync I got a fatal error:

Fatal error: Call to undefined function user_profile_form_validate() in /mnt/datavolume/oan_aws/aegir/platforms/worldchanging/includes/form.inc on line 1432

I solved it with the attached patch that creates a form _validate function that loads the necessary user.profile.inc file.

Comments

Topcheese’s picture

I had the same error and applied the patch and now there is no error.

gantenx’s picture

I'm thinking of different approach to solve this issue. It's not using form validate callback to load file 'user.pages.inc'. Instead, it modifies page callback in hook_menu(). The new page callback loads file 'user.pages.inc' then return the form.

ram4nd’s picture

Issue summary: View changes
Status: Needs review » Reviewed & tested by the community

#2 worked for me.

dxx’s picture

+1 for #2

hydra’s picture

Still working :)