Added a 1.3.3 avatar module I found out worked in 1.3.4,
this one to be exact.
PHP Code:
$profile = $mysidia->user->getprofile();
$avatar = new Image($profile->getAvatar());
$avatar->resize(200);
$moduleContainer->add($avatar);
EDIT: Deleted it and I keep getting the error.