• Hello
    I would like to report some problems after updating the plug-in from version 2.0.56 to version 2.1.2.
    1) The User Page does not show the content; this only appears in edit mode; I discovered that the problem is in the page template/profile.php line 152:
    ‘if (um_is_on_edit_profile () || UM () -> user () -> preview) {‘
    The variable ‘UM () -> user () -> preview’ is not setted.
    2) I got around the first problem but another happened: the content of the fields created with the radio buttons is not displayed in preview mode but only in edit mode
    3) I created a user role setting as ‘Action to perform after login’ a redirect to a specific page but after the update the redirect does not work
    Thanks in advance for any help

    • This topic was modified 6 years, 4 months ago by lorghir.
Viewing 1 replies (of 1 total)
  • Thread Starter lorghir

    (@lorghir)

    Hello
    Regarding the problem reported in point 2: at row 3883 of the file class-fields.php, in the case of fields like radio button or multiselect, the command

    $this->field_value( $key, $default, $data )

    returns an array that is not displayed.
    The solution could be like this:

    if($type==’radio’)
    {
    $res=$res[0];
    }
    elseif($type==’multiselect’)
    {
    $res=implode(‘, ‘,$res);
    }

    Nobody has an answer to my questions?
    Thank you

Viewing 1 replies (of 1 total)

The topic ‘Problems after upgrading to version 2.1.2’ is closed to new replies.