Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter ctruelson

    (@ctruelson)

    The culprit plugin was ProjectManager. I deactivated it and all errors went away.

    Thanks for your help.

    C

    Thread Starter ctruelson

    (@ctruelson)

    Any idea of what I can search for in my files to try and find the culprit? Or should I just try deactivating plugins with trial and error?

    Thread Starter ctruelson

    (@ctruelson)

    Sorry Jeff, I lied — I had <?php do_action( 'show_user_profile', $profileuser ); ?> commented out. Removing those actions didn’t do anything besides remove the custom fields I had on the profile.

    Thread Starter ctruelson

    (@ctruelson)

    It does! Thank you. What do you think I should do to keep those custom fields in there?

    Also, the form submission error is still there. Here’s the submission error:

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

    Warning: Cannot modify header information – headers already sent by (output started at /html/wp-includes/plugin.php:405) in /html/wp-includes/pluggable.php on line 866

    I really appreciate your help, thanks Jeff.
    Charles

    Thread Starter ctruelson

    (@ctruelson)

    I have added functions to my theme.

    I am hiding the “Admin Bar” for logged in users with this function:

    add_filter( ‘show_admin_bar’, ‘__return_false’ );

    I am also showing several additional fields with user meta, with the following:

    add_action( ‘show_user_profile’, ‘my_show_extra_profile_fields’ );
    add_action( ‘edit_user_profile’, ‘my_show_extra_profile_fields’ );
    function my_show_extra_profile_fields( $user ) { ?>

    For each additional field being displayed on the profile, I am using the following:

    <?php echo esc_attr( get_the_author_meta( ‘cell_phone’, $user->ID ) ); ?>

    I’ve also added a few custom navigation menus.

    I haven’t added anything to the theme-my-login-custom.php file.

    Another plugin that affects the profile is “Simple Local Avatar” which adds the ability for users to upload an avatar. I deactivated it to see if that was the problem, but nothing happened.

    One thing I noticed is when I remove the following code:

    <?php do_action( ‘show_user_profile’, $profileuser ); ?>

    …the call_user_func_array error goes away.
    However the Warning: Cannot modify header information error is still there after submitting.

    Thanks Jeff,
    Charles

    Thread Starter ctruelson

    (@ctruelson)

    I just tried using Theme My Profile, with the “Themed Profiles” module disabled on Theme My Login. I am getting the same error.

    What I also realized is that after clicking the “Update Profile” button, I am getting a warning page with several warnings, which read:

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/80/8787380/html/wp-includes/plugin.php:405) in /home/content/80/8787380/html/wp-includes/pluggable.php on line 686

    Thanks for your help.

    Thread Starter ctruelson

    (@ctruelson)

    I’m sorry, I am using Theme My Login with the “Themed Profile” module.

    C

    Thread Starter ctruelson

    (@ctruelson)

    Hey Jeff, thanks for getting back so quickly.

    The error is occurring on the themed profile, underneath the “change password” fields. I’m not using Theme My Profile for user registration; I’m using the Gravity Forms User Registration Plugin.

    C

Viewing 8 replies - 1 through 8 (of 8 total)