WP_Post instead of array as WordPress core’s wp_insert_post
-
We have a multisite setup. We aren’t able to publish new posts across sites while using the Events Calendar. They helped identify what the issue was. Here’s a link to the original post on their support page:
It seems like you are both facing the same issue, but @cbergy21 stack trace is more detailed so i was able to pinpoint it at
/public_html/wp-content/plugins/threewp-broadcast/src/traits/broadcasting.php(434)At that exact line threewp-broadcast plugin performs a call to wp_insert_post but the first parameter being passed is of type WP_Post instead of array as WordPress core’s
wp_insert_postfunction expects. That is what causing the error.I would reach out to
threewp-broadcastplugin’s developers to fix that issue.Would you be able to help make this change?
The page I need help with: [log in to see the link]
The topic ‘WP_Post instead of array as WordPress core’s wp_insert_post’ is closed to new replies.