• Resolved risdbrian

    (@risdbrian)


    We have a multisite setup. We had to roll back to 6.9.1 because the two updates after 6.9.1 stopped the use of the broadcast plugin. We weren’t able to publish new posts across sites. We could unpublish though.

    2025/04/01 11:00:01 [error] 1920#1920: *25371 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught TypeError: TEC\Events\Calendar_Embeds\Calendar_Embeds::disable_slug_changes(): Argument #3 ($unsafe_post_array) must be of type array, WP_Post given, called in /u01/www/wordpress/wp-includes/class-wp-hook.php on line 324 and defined in /u01/www/wordpress/wp-content/plugins/the-events-calendar/src/Events/Calendar_Embeds/Calendar_Embeds.php:162

Viewing 5 replies - 1 through 5 (of 5 total)
  • cbergy21

    (@cbergy21)

    I also have this same error or close to it after the latest update:

    PHP Fatal error:  Uncaught TypeError: TEC\Events\Calendar_Embeds\Calendar_Embeds::disable_slug_changes(): Argument #3 ($unsafe_post_array) must be of type array, WP_Post given, called in /../public_html/wp-includes/class-wp-hook.php on line 324 and defined in /../public_html/wp-content/plugins/the-events-calendar/src/Events/Calendar_Embeds/Calendar_Embeds.php:163
    Stack trace:
    #0 /../wp-includes/class-wp-hook.php(324): TEC\Events\Calendar_Embeds\Calendar_Embeds->disable_slug_changes()
    #1 /../public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters()
    #2 /../public_html/wp-includes/post.php(4761): apply_filters()
    #3 /../public_html/wp-content/plugins/threewp-broadcast/src/traits/broadcasting.php(434): wp_insert_post()

    Plugin Author Dimitris Pantazis

    (@dpantazis)

    Hey @risdbrian and @cbergy21,

    I am so sorry you are facing that issue! I am a developer working on The Events Calendar and i noticed the issue you are facing and I wanted to help you resolve it so i looked into it to figure it out.

    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_post function expects. That is what causing the error.

    I would reach out to threewp-broadcast plugin’s developers to fix that issue.

    In this case, the error became visible by using our plugins but I am sure if they dont fix it it will become visible with other plugins as well or even WordPress’s core in the near future.

    Thank you,
    Dimitris

    Thread Starter risdbrian

    (@risdbrian)

    Thanks so much for the help! I’ll reach out to the Broadcast plugin developers. I appreciate your help!

    Plugin Author Dimitris Pantazis

    (@dpantazis)

    Always our pleasure @risdbrian ! If you face any issues with the Broadcast plugin developers, please feel free to ping me here with the link where you started the discussion and i’ll be more than happy to jump in and help out!

    Thank you for using The Events Calendar!

    Plugin Support Darian

    (@d0153)

    Hi there,

    This thread has been inactive for a while, so we’ll go ahead and mark it Resolved. Please open a new thread if any other questions arise, and we’d be happy to help.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Update After 6.9.1 Stops Broadcast Plugin on Multisite’ is closed to new replies.