All you needed to do was upgrade through Joomlas built in upgrade component. 3.3.1 to 3.4.1 is not a migration. Do not use migration extensions unnecessarily or you risk damaging your install.
Done now - I'll know better next time :blush:
You need to provide the full code that your form is trying to execute. I can't suggest anything without first seeing what it's missing or trying to do with CBs API. My guess is you're missing an import somewhere maybe.
I don't know what changed, but my problem is now sorted. It needed
// load the CB API
include_once( JPATH_ADMINISTRATOR . '/components/com_comprofiler/plugin.foundation.php' );
which previously was not required.
Regards, Phil