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