SELECT cf.field_id AS field_id, mc.col_id, IF(mc.col_id IS NULL, cf.field_name, mc.col_name) AS field_name FROM (exp_channel_fields AS cf) LEFT JOIN exp_matrix_cols AS mc ON mc.field_id = cf.field_id WHERE ((cf.field_type = 'vmg_chosen_member' || cf.field_type = 'matrix') AND cf.field_name = 'initiative_member')
When using this:
{exp:vmg_chosen_member:assocentries prefix="cm" field="initiative_member" member_id="{logged_in_member_id}" } {cm_entry_ids} {/exp:vmg_chosen_member:assoc_entries}
in ExpressionEngine 2.5.5, i get this:
Error Number: 1146
Table 'ee2_llb.exp_matrix_cols' doesn't exist
SELECT cf.field_id AS field_id, mc.col_id, IF(mc.col_id IS NULL, cf.field_name, mc.col_name) AS field_name FROM (
exp_channel_fields
AS cf) LEFT JOINexp_matrix_cols
AS mc ONmc
.field_id
=cf
.field_id
WHERE ((cf.field_type = 'vmg_chosen_member' || cf.field_type = 'matrix') AND cf.field_name = 'initiative_member')Filename: third_party/vmg_chosen_member/mod.vmg_chosen_member.php
Line Number: 201
Without proper knowledge of your code it seems like your assoc_entries() function don't check for fieldtype like get_results() does.