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.
This commit is contained in:
benjamin melançon 2019-01-17 13:59:38 -05:00
parent 11bafffe6e
commit be03f342b8

View file

@ -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