• Since last update I’ve noticed a recurring warning when watching error logs. It’s

    Warning: Undefined array key “type” in /wp-content/plugins/ultimate-member/includes/core/class-profile.php on line 425

    I’m using latest version of WordPress and PHP 8

    Please check it and fix it

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Mykyta Synelnikov

    (@nsinelnikov)

    Hi @fidoboy

    I guess there can be issues with field settings that you use for Profile meta.
    Could you make some investigation steps?

    Please insert this code to the 423 line:

    if ( empty( $data['type'] ) ) {
    var_dump( $data ); 
    }

    After that, please reload the User Profile page and share the debug lines that will be visible on the profile.

    Let me know,
    Best Regards!

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @fidoboy

    ..This thread has been inactive for a while so we’re going to go ahead and mark it Resolved…

    Please feel free to re-open this thread by changing the Topic Status to ‘Not Resolved’ if any other questions come up and we’d be happy to help… ??

    Regards,

    Thread Starter fidoboy

    (@fidoboy)

    I’m sorry I didn’t get the notification of reply. But I’ve added that code to line 423 and doesn’t happen on user profile page

    Thread Starter fidoboy

    (@fidoboy)

    @champsupertramp I’ve changed the topic status

    • This reply was modified 3 years, 5 months ago by fidoboy.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Warning on error logs’ is closed to new replies.