Forums

[Plugin: ProjectManager] Conflict (PHP warning) with Cimy User Extra Fields upon user registration (2 posts)

  1. vitalvital
    Member
    Posted 2 years ago #

    I get this upon user registration:

    Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'Array' was given in /public_html/wp-includes/plugin.php on line 339

    It "goes away" if either Cimy User Extra Fields or ProjectManager plugin is disabled.

    The website is http://www.informationenergymedicine-association.com/
    It is OK to try to login for troubleshooting purposes.

    http://wordpress.org/extend/plugins/projectmanager/

  2. vitalvital
    Member
    Posted 2 years ago #

    As suggested by Marko (Cimy User Extra Fields author) I added

    if (is_array($the_['function']))
    print_r($the_);

    to /wp-includes/plugin.php line 338.

    the output (when trying to register) was:

    Array ( [function] => Array ( [0] => [1] => updateProfile ) [accepted_args] => 1 )
    Warning: call_user_func_array().....

    then I commented out the line 93:
    add_action( 'profile_update', array(&$this->adminPanel, 'updateProfile') );
    in wp-content/plugins/projectmanager/projectmanager.php and the warning "went away". I do not use "Hook into profile" so I assume the rest of the plugin is working as intended without this line.

Topic Closed

This topic has been closed to new replies.

About this Topic