I'm trying to retrieve a category ID to be used in the Member Categories tag pair that is used later on in my template. I know for sure that the variables is being set (I tested it outside the Member Categories tag), but for some reason it refuses to work as a parameter. I've tried adding process="end" but that didn't seem to do anything. Any help would be appreciated!
{exp:channel:entries channel="my_channel" limit="1" dynamic="yes" disable="pagination"}
...
{exp:stash:set name="my_id"}
{categories limit="1"}
{category_id}
{/categories}
{/exp:stash:set}
{/exp:channel:entries}
...
{exp:member_categories:members category_id="{exp:stash:get name='my_id' process='end'}" limit="4" backspace="1"}
{screen_name},
{/exp:member_categories:members}