I am having trouble fixing an undefined index on this error I have on my website. You can see it on www.f4ftraining.com. The error states –>
Notice: Undefined index: user in /home/casey4fitness/public_html/wp-content/plugins/ultimate-member/core/um-filters-profile.php on line 54

I went to line 54 of the error, and tried many things. Here’s the block of coding. Line 54 is the first line of code.

    if (  $id == $ultimatemember->permalinks->core['user'] && in_the_loop() ) { ;
        if ( um_is_core_page('user') && um_get_requested_user() ) {
            $title = um_get_display_name( um_get_requested_user() );
        } else if ( um_is_core_page('user') && is_user_logged_in() ) {
            $title = um_get_display_name( get_current_user_id() );

Please help, because this plugin error is keeping me from making a big step with my website.

Read more here: Undefined Index of Plugin Code WordPress Relating to User Line 54


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: