thomasF-4
Background of the issue:
Ich versuche, eine Seite zu bearbeiten, aber ich bekomme eine Fehlermeldung am Ende der Seite. Der Link zur Seite, wo das Problem auftritt, ist: versteckter Link
Symptoms:
Fatal error: Uncaught ValueError: DOMDocument::loadHTML(): Argument #1 ($source) must not be empty in /home/.sites/116/site1669177/web/wp-content/plugins/wpml-string-translation/StringTranslation/Infrastructure/StringHtml/Repository/HtmlStringsRepository.php:31 Stack trace: #0 /home/.sites/116/site1669177/web/wp-content/plugins/wpml-string-translation/StringTranslation/Infrastructure/StringHtml/Repository/HtmlStringsRepository.php(31): DOMDocument->loadHTML('', 8260) #1 /home/.sites/116/site1669177/web/wp-content/plugins/wpml-string-translation/StringTranslation/Infrastructure/StringHtml/Repository/HtmlStringsRepository.php(190): WPMLStringTranslationInfrastructureStringHtmlRepositoryHtmlStringsRepository->loadHtml('') #2 /home/.sites/116/site1669177/web/wp-content/plugins/wpml-string-translation/StringTranslation/Infrastructure/StringHtml/Repository/HtmlStringsRepository.php(221): WPMLStringTranslationInfrastructureStringHtmlRepositoryHtmlStringsRepository->readAllRawGettextStringsFromHtmlScriptTags(Object(DOMDocument), '...') #3 /home/.sites/116/site1669177/web/wp-content/plugins/wpml-string-translation/StringTranslation/Infrastructure/StringHtml/Repository/HtmlStringsRepository.php(237): WPMLStringTranslationInfrastructureStringHtmlRepositoryHtmlStringsRepository->readAllRawGettextStringsFromHtml(Object(DOMDocument), '...') #4 /home/.sites/116/site1669177/web/wp-content/plugins/wpml-string-translation/StringTranslation/Infrastructure/StringHtml/Repository/HtmlStringsRepository.php(251): WPMLStringTranslationInfrastructureStringHtmlRepositoryHtmlStringsRepository->readAllGettextStringsFromHtml(Object(DOMDocument), '...') #5 /home/.sites/116/site1669177/web/wp-content/plugins/wpml-string-translation/StringTranslation/Application/StringHtml/Service/HtmlStringsService.php(75): WPMLStringTranslationInfrastructureStringHtmlRepositoryHtmlStringsRepository->getAllStringsFromHtml('...') #6 /home/.sites/116/site1669177/web/wp-content/plugins/wpml-string-translation/StringTranslation/Application/StringHtml/Service/HtmlStringsService.php(66): WPMLStringTranslationApplicationStringHtmlServiceHtmlStringsService->extractStringsFromHtml('...') #7 [internal function]: WPMLStringTranslationApplicationStringHtmlServiceHtmlStringsService->readHtmlFromBuffer('...', 9) #8 /home/.sites/116/site1669177/web/wp-includes/functions.php(5471): ob_end_flush() #9 /home/.sites/116/site1669177/web/wp-includes/class-wp-hook.php(324): wp_ob_end_flush_all('') #10 /home/.sites/116/site1669177/web/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array) #11 /home/.sites/116/site1669177/web/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #12 /home/.sites/116/site1669177/web/wp-includes/load.php(1304): do_action('shutdown') #13 [internal function]: shutdown_action_hook() #14 {main} thrown in /home/.sites/116/site1669177/web/wp-content/plugins/wpml-string-translation/StringTranslation/Infrastructure/StringHtml/Repository/HtmlStringsRepository.php on line 31
Questions:
Warum erhalte ich diese Fehlermeldung?
Wie kann ich das Problem beheben?
Andreas W.
WPML-Unterstützer seit 12/2018
Sprachen:
Englisch (English )
Spanisch (Español )
Deutsch (Deutsch )
Zeitzone:
America/Lima (GMT-05:00)
Hallo,
Bitte lege eine Sicherungskopie der Website an und gehe dann auf Plugins > Neu hinzufügen und klicke auf den Reiter "Kommerziell".
Sollten hier keine neuen Versionen von WPML und String Translation angeziegt werden, dann klicke bitte auf "Nach WPML Updates suchen".
Installiere nun die aktuellsten Versionen unserer Plugins.
Danach leere bitten den Cache der Website und teste ob das Problem bestehen bleibt.
Mit freundlichen Grüßen
Andreas