Hi,
I am using ACF pro on php 8.1 version, i am getting null for get_row_layout and get_sub_field.
Can you please let me know what is the issue?
Thanks
You’re going to need to supply more information. How are your fields set up? What code are you using that is not working?
Please check the attached screens. The get_row_layout() is returning null. Also the get_sub_field(). the_row() var_dump is returning as string(5)”Array”
Still waiting for your reply. Let me know what is the issue?
Thanks
In the while loop the_row() getting empty array, so why it is empty array? What is going wrong here?
In PHP 7.4 its working fine but not in php 8.1
Can you please reply on my comments
Where is the field group location?
In your second code snippet, what is the value of $pid