I have the same problem. Also when i try to modify the existing ones it creates errors with them. How can i go back to 1.12 safely? Because this is a breaking bug that prevents me from going life.
btw this is the code for line 138:
$fields = array( 'shipping_carrier_name' => vmGet($d["shipping_carrier_name"]),
'shipping_carrier_list_order' => (int)$d['shipping_carrier_list_order']);
$db->buildQuery('UPDATE', '#__{vm}_shipping_carrier', $fields, 'WHERE shipping_carrier_id=' . (int)$d["shipping_carrier_id"] );
$db->query();
return True;
and this for line 26:
function vmGet( &$arr, $name, $def=null, $mask=0 ) {
// Static input filters for specific settings
static $noHtmlFilter = null;
static $safeHtmlFilter = null;
$var = vmGetArrayValue( $arr, $name, $def, '' );
// If the no trim flag is not set, trim the variable
if (!($mask & 1) && is_string($var)) {
$var = trim($var);
}