• Hi,

    After the latest update, the profile is not working anymore.

    I am using the latest WP version, php 7.2.

    The only thing i have on the profile page is a form. (its shortcode is correctly inserted. Till now, it used to work with no issues.

    If i look in the web dev console i notice this (if it makes any difference):
    Uncaught TypeError: Cannot read property ‘addEventListener’ of null
    at HTMLDocument.<anonymous> (popup.js:60)

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

    (@nsinelnikov)

    Hi @zserbanro81

    Could you provide the URL of the popup.js file? There isn’t such a JS file in the Ultimate Member plugin.

    Let me know,
    Thanks!

    Thread Starter zserbanro81

    (@zserbanro81)

    With logging on, I only have this notice:

    Notice: Undefined offset: 1 in …wp-content/plugins/ultimate-member/includes/um-short-functions.php on line 2056

    Maybe is a wordpress JS? In any case, it probably has nothing to do with it.

    The same problem. The last version of Ultimate Member also broke the profile page of my site.

    • This reply was modified 4 years, 5 months ago by franciscofgb.
    Plugin Author Mykyta Synelnikov

    (@nsinelnikov)

    Hi @zserbanro81

    Please replace wp-content/plugins/ultimate-member/includes/um-short-functions.php 2056 line to this

    return isset( $matches[1] ) ? $matches[1] : '';

    Let me know how it works now,
    Thanks!

    Thread Starter zserbanro81

    (@zserbanro81)

    It does not fix this issue, it seems that line is related to the avatar ( I’m not using any profile photo).

    /**
     * get avatar URL instead of image
     *
     * @param $get_avatar
     *
     * @return mixed
     */
    function um_get_avatar_url( $get_avatar ) {
    	preg_match( '/src="(.*?)"/i', $get_avatar, $matches );
    
    //	return $matches[1];
            return isset( $matches[1] ) ? $matches[1] : '';
    }
    Thread Starter zserbanro81

    (@zserbanro81)

    Looks like its some issue with UM and All in one seo now…so a plugin conflic of some sorts.

    Replacing the line return isset( $matches[1] ) ? $matches[1] : ”;

    didn’t worked.

    I have a blank page. When I open the page with elementor is ok, otherwise, it is in blank.

    @zserbanro81 feel free to report any conflicts with AIOSEO here – https://www.ads-software.com/support/plugin/all-in-one-seo-pack/. The support team will be happy to take a look at it.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘UM 2.1.6 broke profile’ is closed to new replies.