The error is caused by the have_rows()
function.
The get_field()
function sorts out the post ID by calling acf_get_valid_post_id()
before using it, but in ‘have_rows()` the post_id is used on line 372 before it is converted on line 380. I will report this bug to the developer.