Support

Account

Home Forums General Issues Allowed memory is exhausted when refering other post.

Solved

Allowed memory is exhausted when refering other post.

  • Hello.

    I create a custom field “Post Object” like “post_parent”.
    The amount of the post type is approximately 5000, then the UI is broken.

    > Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 72 bytes) in /path/to/wordpress/wp-includes/meta.php on line 826

    I just want to set other post ID to custom field.
    Can I limit to showing the select box UI to avoid memory exhausting?

    Thanks.

  • I changed the ACF type from “Post Object” to “Integer”.
    Then I cannot select “Post Object” from select box at admin panel, but my Program can control the value with relation.

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

The topic ‘Allowed memory is exhausted when refering other post.’ is closed to new replies.