Support

Account

Home Forums ACF PRO relationsfield get_field returns an emtpy array

Solving

relationsfield get_field returns an emtpy array

  • Hi,

    when i connect more than >75 relations in a relations field get_field() returns an emtpy array.

  • The only possibility that I have found is that the query or the return from the query is exceeding max_packet_size.

  • i changed max_packet_size to 256MB but still have the same problem

  • Yeah, I don’t know and I was just guessing. But the only thing that I can think of is that either the query is too long, which I doubt, or the response data from the database is too long/big, which is more likely.

    But one of these seems to be the only thing I can find that would cause an issue only when querying for a large number of posts and there is not a problem when querying for a smaller number of posts.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.