• Resolved wag1998

    (@wag1998)


    The Events Calendar plugin is breaking other plugins. When disabled other plugins work fine.

    I keep getting alerts from WordPress that there is an issue with the Events Calendar Plugin.

    I have tried re installing the plugin and upgrading to the new DB structure but no change.

    The error details I get in the alerts are:

    Error Details
    =============
    An error of type E_ERROR was caused in line 458 of the file /var/www/web/wp-content/plugins/the-events-calendar/src/Tribe/Admin/Settings.php. Error message: Uncaught TypeError: Return value of Tribe\Events\Admin\Settings::admin_footer_text_settings() must be of the type string, null returned in /var/www/web/wp-content/plugins/the-events-calendar/src/Tribe/Admin/Settings.php:458
    Stack trace:
    #0 /var/www/web/wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/lucatume/di52/src/Container.php(752): Tribe\Events\Admin\Settings->admin_footer_text_settings(NULL)
    #1 /var/www/web/wp-includes/class-wp-hook.php(308): TEC\Common\lucatume\DI52\Container->TEC\Common\lucatume\DI52\{closure}(NULL)
    #2 /var/www/web/wp-includes/plugin.php(205): WP_Hook->apply_filters(NULL, Array)
    #3 /var/www/web/wp-content/plugins/the-events-calendar/common/src/Tribe/Credits.php(88): apply_filters(‘tec_admin_foote…’, NULL)
    #4 /var/www/web/wp-includes/class-wp-hook.php(308): Tribe__Credits->rating_nudge(NULL)
    #5 /var/www/web/wp-includes/plugin.php(205): WP_Hook->apply_filters(NULL, Array)
    #6 /var/www/web/wp-admin/admin-footer.php(48): apply_filters(‘admin_footer_te…’, ‘

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Gustavo Bordoni

    (@bordoni)

    Hi @wag1998,

    Thank you so much for your report here.

    This is an issue due to our team using PHP Type enforcement, and some other plugin returning null instead of what our methods were expecting which was a string.

    Internally we already set a policy to no longer do that to filters, because we dont have control over the output or input all the time, and we want to make sure we play nice with other plugins.

    I’ve put together a Pull Request fixing the issue, and it will go out on the next release of The Events Calendar.

    https://github.com/the-events-calendar/the-events-calendar/pull/4336

    Best Regards,

    Plugin Support Darian

    (@d0153)

    Hi @wag1998

    We just released a new version of our plugin that we believe should resolve the issue you reported.

    Please update all your plugins, and if you’re still experiencing the issue, let us know!

    Plugin Support Darian

    (@d0153)

    Hi @wag1998

    It seems like it has been some time since we received a response from you, therefore, I will consider this matter as resolved. If you require any further assistance, please do not hesitate to start a new thread.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Breaking other Plugins – keep getting error warnings about Events Calendar’ is closed to new replies.