Hi,
I'm using Broadcast on a multisite and I'm getting fatal errors when saving broadcasted posts.
[01-Oct-2020 11:37:41 UTC] PHP Fatal error: Uncaught InvalidArgumentException: incorrect post type in /home/tgcfgo/public_html/wp-content/plugins/types/vendor/toolset/toolset-common/inc/autoloaded/field/group/post.php:69
Stack trace:
#0 /home/tgcfgo/public_html/wp-content/plugins/types/application/models/field/group/repeatable/service.php(605): Toolset_Field_Group_Post->__construct(Object(WP_Post))
#1 /home/tgcfgo/public_html/wp-content/plugins/types/vendor/toolset/toolset-common/inc/autoloaded/field/group/post_factory.php(422): Types_Field_Group_Repeatable_Service->group_contains_rfg_or_prf(110)
#2 [internal function]: Toolset_Field_Group_Post_Factory->{closure}(Object(OTGS\Toolset\Common\Field\Group\GroupDisplayResult))
#3 /home/tgcfgo/public_html/wp-content/plugins/types/vendor/toolset/toolset-common/inc/autoloaded/field/group/post_factory.php(286): array_filter(Array, Object(Closure))
#4 /home/tgcfgo/public_html/wp-content/plugins/types/vendor/toolset/toolset-common/inc/autoloaded/field/group/post_factory.php(471): Toolset_Field_Group_Post_Factory- in /home/tgcfgo/public_html/wp-content/plugins/types/vendor/toolset/toolset-common/inc/autoloaded/field/group/post.php on line 69
This is the Broadcast plugin?
https://wordpress.org/plugins/threewp-broadcast/
They have an add-on for Toolset compatibility, are you using it?
hidden link
I can see from our internal tickets that this same error was reported a year ago, and that we had some interactions with the plugin author that ultimately proved fruitless.
The plugin creates duplicate posts on other sites on a network, but isn't doing it correctly with Types custom fields.
We'd be happy to try again to help the Broadcast plugin author identify what's required. I suggest you file a support ticket with them, where you can invite them to contact the Types developer jan.s@onthegosystems.com for assistance.
I've updated our internal tickets to link them to this thread.
Hi Nigel,
Thanks for your reply. Yes it's Broadcast with Broadcast Third Party Pack addon to ensure Toolset compatibility.
I've just contacted their support. Fingers crossed we'll find a solution this time!
Have a nice weekend
From the internal tickets it looks like there is some email communication between the developer of Broadcast and of Types, so hopefully that means a solution can be found.
I'll leave this escalated and update you if I see any news.