Undefined Index in Coding of Ultimate Member Plugin
-
I am having trouble fixing an undefined index on this error I have on my website. You can see it on https://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 Home
The problem as it states in the error above lies in the filters profile of the core of this Ultimate Member Plugin.
I went to line 54 of the error, and tried many things. I changed it back to the coding it was before I started messing with it so that someone can help. 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 and tell me what you guys are missing in your Ultimate Member plugin that’s causing this, because this plugin error is keeping me from making a big step with my website. Thanks
- The topic ‘Undefined Index in Coding of Ultimate Member Plugin’ is closed to new replies.