How to make wildcard item output in c++ that dont crash

how do i make a bp node with a wildcard item output without an array in bp(the array is in c++).
the only way i found that works is to hide a array output and link the item output to it.

UFUNCTION(BlueprintPure, meta = (ArrayParm = “fake_array”,HidePin = “fake_array”, ArrayTypeDependentParams = “item”))
static void test_get(UProperty* & item, TArray &fake_array);

but it crash when i press stop.