Skip to:
Content
Pages
Categories
Search
Top
Bottom

Registration / adding own Validation function –>error:Call to a member function

  • Hi!

    I guess the following problem arises due to my laps in PHP knowledge.

    I’m trying to extend the regular validation of registration data by an own function (WPMU2.7,BP1.0).

    However already my skeleton, albeit empty,

    function myown_xprofile_validate_signup_fields() {}

    add_filter( ‘wpmu_validate_user_signup’, ‘myown_xprofile_validate_signup_fields’, 9, 1 );

    causes these errors:

    Warning: extract() [function.extract]: First argument should be an array in /var/www/web2/html/wordpressmu/wp-content/plugins/buddypress/bp-core/bp-core-signup.php on line 263

    Fatal error: Call to a member function get_error_code() on a non-object in /var/www/web2/html/wordpressmu/wp-content/plugins/buddypress/bp-core/bp-core-signup.php on line 265

    Please excuse me if this is laughable, but I’m grateful 4 any help.

You must be logged in to reply to this topic.