- 🇫🇷France andypost
There's no such option, but there's related ✨ Import should overwrite files RTBC
I have a site with default_content 2.0.0-alpha1.
I exported content into a module.
When I enable that module and the site starts to import content, I get this error:
Fatal error: Declaration of Drupal\default_content\Importer::importContent($module) must be compatible with Drupal\default_content\ImporterInterface::importContent($module, $update_existing = false) in /app/web/modules/contrib/default_content/src/Importer.php on line 131
I think we need to edit
default_content/src/Importer.php
And change:
public function importContent($module) {
into:
public function importContent($module, $update_existing = FALSE) {
Closed: cannot reproduce
2.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
There's no such option, but there's related ✨ Import should overwrite files RTBC