• Resolved cyrillbolliger

    (@cyrillbolliger)


    Thanks for the plugin. I use it on many sites, till date without any problems. However today I noticed that TTfP crashes the whole site (front- & backend), when using the following setup:

    WordPress: 6.1.1
    Plugins:

    • the-events-calendar: 6.0.9
    • polylang-pro: 3.3.1
    • theme-translation-for-polylang: 3.3.3
    • wordpress-importer: 0.8

    WordPress Multisite, all Plugins network activated.

    The error trace:

    Fatal error:  Uncaught Error: Call to undefined function get_plugin_data() in /var/www/html/wp-content/plugins/theme-translation-for-polylang/inc/theme-and-plugin-support.php:71
    Stack trace:
    #0 /var/www/html/wp-content/plugins/theme-translation-for-polylang/Polylang_Theme_Translation_Settings.php(38): pll_get_plugin_textdomain('wordpress-impor...')
    #1 /var/www/html/wp-content/plugins/theme-translation-for-polylang/Polylang_Theme_Translation_Translator.php(35): Polylang_Theme_Translation_Settings::getInstance()
    #2 /var/www/html/wp-content/plugins/theme-translation-for-polylang/Polylang_Theme_Translation_Translator.php(52): Polylang_Theme_Translation_Translator->make_translation('tribe-common')
    #3 /var/www/html/wp-includes/class-wp-hook.php(308): Polylang_Theme_Translation_Translator->gettext('Promoter', 'Promoter', 'tribe-common')
    #4 /var/www/html/wp-includes/plugin.php(205): WP_Hook->apply_filters('Promoter', Array)
    #5 /var/www/html/wp-includes/l10n.php(199): apply_filters('gettext', 'Promoter', 'Promoter', 'tribe-common')
    #6 /var/www/html/wp-includes/l10n.php(299): translate('Promoter', 'tribe-common')
    #7 /var/www/html/wp-content/plugins/the-events-calendar/common/src/Tribe/Promoter/PUE.php(28): __('Promoter', 'tribe-common')
    #8 /var/www/html/wp-content/plugins/the-events-calendar/common/vendor/lucatume/di52/src/tad/DI52/Container.php(338): Tribe__Promoter__PUE->load()
    #9 /var/www/html/wp-content/plugins/the-events-calendar/common/vendor/lucatume/di52/src/tad/DI52/Container.php(283): tad_DI52_Container->resolve('promoter.pue')
    #10 /var/www/html/wp-content/plugins/the-events-calendar/common/src/Tribe/Container.php(176): tad_DI52_Container->make('promoter.pue')
    #11 /var/www/html/wp-content/plugins/the-events-calendar/common/src/Tribe/Service_Providers/Promoter.php(31): tribe('promoter.pue')
    #12 /var/www/html/wp-content/plugins/the-events-calendar/common/src/Tribe/Service_Providers/Promoter.php(20): Tribe__Service_Providers__Promoter->hook()
    #13 /var/www/html/wp-content/plugins/the-events-calendar/common/vendor/lucatume/di52/src/tad/DI52/Container.php(486): Tribe__Service_Providers__Promoter->register()
    #14 /var/www/html/wp-content/plugins/the-events-calendar/common/src/Tribe/Container.php(288): tad_DI52_Container->register('Tribe__Service_...')
    #15 /var/www/html/wp-content/plugins/the-events-calendar/common/src/Tribe/Main.php(721): tribe_register_provider('Tribe__Service_...')
    #16 /var/www/html/wp-content/plugins/the-events-calendar/common/src/Tribe/Main.php(114): Tribe__Main->bind_implementations()
    #17 /var/www/html/wp-includes/class-wp-hook.php(308): Tribe__Main->plugins_loaded('')
    #18 /var/www/html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
    #19 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #20 /var/www/html/wp-settings.php(480): do_action('plugins_loaded')
    #21 /var/www/html/wp-config.php(92): require_once('/var/www/html/w...')
    #22 /var/www/html/wp-load.php(50): require_once('/var/www/html/w...')
    #23 /var/www/html/wp-blog-header.php(13): require_once('/var/www/html/w...')
    #24 /var/www/html/index.php(17): require('/var/www/html/w...')
    #25 {main}
      thrown in /var/www/html/wp-content/plugins/theme-translation-for-polylang/inc/theme-and-plugin-support.php on line 71

    Thanks for providing a fix or at least disabling TTfP for wordpress-importer by default.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal Error when using WordPress Importer & the events calendar’ is closed to new replies.