From be03f342b81baf523e6b1a51bd2f13eff593e25b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Thu, 17 Jan 2019 13:59:38 -0500 Subject: [PATCH] This can't be right but just try throwing empty 3rd party settings in The actual error is in core/modules/content_translation/src/ContentTranslationManager.php here: foreach ($bundles as $bundle) { $config = $this->loadContentLanguageSettings($entity_type_id, $bundle); if ($config->getThirdPartySetting('content_translation', 'enabled', FALSE)) { $enabled = TRUE; break; } } Something caused ane error like this, during configuration import: [notice] Synchronized configuration: create views.view.who_s_new in language.es. Error: Call to a member function getThirdPartySetting() on null in /var/www/drutopia/web/core/modules/content_translation/src/ContentTranslationManager.php on line 99 #0 /var/www/drutopia/web/core/modules/content_translation/content_translation.module(180): Drupal\content_translation\ContentTranslationManager->isEnabled('group', '') Error: Call to a member function getThirdPartySetting() on null in Drupal\content_translation\ContentTranslationManager->isEnabled() (line 99 of /var/www/drutopia/web/core/modules/content_translation/src/ContentTranslationManager.php). PHP Fatal error: Uncaught Error: Call to a member function getThirdPartySetting() on null in /var/www/drutopia/web/core/modules/content_translation/src/ContentTranslationManager.php:99 Stack trace: Fatal error: Uncaught Error: Call to a member function getThirdPartySetting() on null in /var/www/drutopia/web/core/modules/content_translation/src/ContentTranslationManager.php:99 Stack trace: (See agaric-com snippets) The next thing that showed up on another try is the config we tried. --- config/sync/core.entity_view_display.node.blog.rss_teaser.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/config/sync/core.entity_view_display.node.blog.rss_teaser.yml b/config/sync/core.entity_view_display.node.blog.rss_teaser.yml index 3bd1f88..03ff167 100644 --- a/config/sync/core.entity_view_display.node.blog.rss_teaser.yml +++ b/config/sync/core.entity_view_display.node.blog.rss_teaser.yml @@ -24,6 +24,7 @@ id: node.blog.rss_teaser targetEntityType: node bundle: blog mode: rss_teaser +third_party_settings: { } content: field_body_paragraph: type: paragraph_summary