Please help!
I have created a one to many post relationship. post type Programmes(one) and post type Events(many)
When I connect an event to a programme I get the following error
Warning: Invalid argument supplied for foreach() in /home/ezclubsite/public_html/wp-content/plugins/types/application/viewmodels/related_content_post.php on line 117
I'm running a WP multisite installation and the sites are under construction with no live sites, I have disabled all plugins bar Toolset for your convenience.
best regards
Stephen
Hi, I'm checking this now and I will update you shortly.
Okay I ran several tests and I believe the issue is in the Memcached system. I logged in with FTP and went to wp-content, then renamed the object-cache.php file temporarily. I reloaded this admin page: hidden link
Now I no longer see the warning, and I see two linked events. After that, I reverted the cache file name change, and now the warning message is no longer displaying. Can you run some tests and see if things are working as expected?
If you try and add a new event relationship the error returns, the error returns even if just update the post without making a relationship.
When connecting an existing post the Events list is displayed in the Programme page, however, Programmes are not listed in the events page.
Another error displayed when connecting existing content is:
There was a problem creating the related content: These two elements are already associated and the relationship doesn't allow non-distinct associations.
This error displays even after deleting and recreating the relationship.
Any update on this issue?
Okay so problems return after reactivating the caching system. I think the best solution here is to deactivate the caching system, since it seems to cause problems with Toolset. If you agree, I will take care of that for you by renaming object-cache.php
I have this too....same issue after renaming cache.php it comes back again.
I take it that you are working on a fix for this??
First time using Toolset on WordPress.....fantastic scope of things to do with it. Hope you can get this fixed!