WordPress.org

Forums

Events Manager
[resolved] Buddypress Conflict (6 posts)

  1. Boulderactive
    Member
    Posted 1 year ago #

    For some reason there is a conflict when I install events manager. The tabs for buddy press cease working, (my groups, my groups 2) I get an error that reads,
    Fatal error: Call to undefined function vt_resize() in /home/bouldera/public_html/wp-content/themes/parallelus-salutation/framework/theme-functions/buddypress.php on line 90

    The error goes away when I deactivate events manager.

    http://wordpress.org/extend/plugins/events-manager/

  2. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    this is being caused by your theme.

  3. Boulderactive
    Member
    Posted 1 year ago #

    Any suggestions? There's some sort of conflict because when I deactivate events manager the error message goes away

  4. agelonwl
    Member
    Posted 1 year ago #

    check the file at /wp-content/themes/parallelus-salutation/framework/theme-functions/buddypress.php and seems that this function vt_resize() does not exist

  5. Boulderactive
    Member
    Posted 1 year ago #

    here is the code...

    // has query params so get "d=http://..." containing image we need resized
    parse_str($avatarQuery[query]);
    $avatarImage = vt_resize( '', $d, $width, $height, true );
    $avatarURL = str_replace($d, $avatarImage['url'], $avatarURL);

  6. agelonwl
    Member
    Posted 1 year ago #

    try to add conditions like

    if ( function_exists('vt_resize') ){
    ...........
    }

    or ask for your theme support.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic