I’m trying to get data from a select field of a repeater and am getting the error:
Use of undefined constant get_sub_field – assumed ‘get_sub_field’
Since it isn’t working I’m just trying to get the value and echo it at this point. All I’m getting is a lower case ‘g’, as they are replacing the get_sub_field with the actual value for it. It is returning 6 of them, which is the number of rows, so that part is working succesfully. The problem is just returning the info from the select field.
I’ve used a select with repeater fields numerous times and have never had this problem.