I am trying to:
Create a post relationship between a Types custom post type (Cats) and an Events custom post type created by The Events Calendar plugin. Cats attend Adoption Events and I would like to use post relationships to indicate which cats are attending which events.
Link to a page where the issue can be seen: hidden link
On the Edit Cats post type wordpress admin page:
If I try to add Events as a parent and Save the Cats post type I get this error:
Fatal error: Out of memory (allocated 111149056) (tried to allocate 12288 bytes) in /home2/h9k3d4p5/public_html/wordpress/wp-content/plugins/the-events-calendar/src/Tribe/Template_Factory.php on line 296
If I try to add Events as a child and Save the Cats post type I get this error:
Fatal error: Out of memory (allocated 112984064) (tried to allocate 72 bytes) in /home2/h9k3d4p5/public_html/wordpress/wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/inc/toolset.assets.manager.class.php on line 12
Is it not possible to relate Types CPTs and Tribe CPTs? Or is this a new bug? Some previous support tickets suggested that it used to be possible.
Sometimes it is not possible to increase the memory allocation from WP and it needs to be done directly on the server, in which case you would need to check with your host.
I tried your fix to increase the memory, but I still get the same error.
Also, we already set the max memory to 256M in our php.ini file.
In any case, the post relationship appears to have saved despite the memory error. I'm able to relate Cats to Events inside individual Cat posts. I'm going to ignore the error message for now, but will check back in if I notice other problems.