Viewing 1 replies (of 1 total)
  • Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello,

    Thanks for the feedback!

    Yes, core dev removed a global variable on the user profile page since the WP 6.0 version. This warning will be fixed in the upcoming patch. In the meantime, you can fix it by yourself following these instructions:

    In the file /acf-extended/includes/modules/ui-user.php line:163:

    Replace

    global $profileuser;
    

    With

    global $user_id;
    

    And in the same file, line:167:

    Replace

    <strong>Permalink:</strong> <a href="<?php echo get_author_posts_url($profileuser->ID); ?>"><?php echo get_author_posts_url($profileuser->ID); ?></a>
    

    With:

    <strong>Permalink:</strong> <a href="<?php echo get_author_posts_url($user_id); ?>"><?php echo get_author_posts_url($user_id); ?></a>
    

    Sorry for the inconvenience.

    Have a nice day!

    Regards.

Viewing 1 replies (of 1 total)
  • The topic ‘Bug report..’ is closed to new replies.