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/
this is being caused by your theme.
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
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
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);
agelonwl
Member
Posted 1 year ago #
try to add conditions like
if ( function_exists('vt_resize') ){
...........
}
or ask for your theme support.