I could solve it because I was calling have_rows() OUTSIDE from ‘wp_loaded’ hook. I was located have_rows() INSIDE ‘wp_loaded’ hook and it worked for me.
I have the same Issue with AJAX. How did you fix it?
Hello. I have same issue. Please, any solution?