Problem: Nach dem Aktualisieren von WordPress und WPML erscheinen Warnmeldungen beim Speichern von statischen Seiten. Die Warnungen beziehen sich auf undefinierte Array-Schlüssel und Header-Informationen, die nicht geändert werden können. Solution: Wenn Sie ähnliche Warnmeldungen auf Ihrer Website sehen, empfehlen wir Ihnen, die folgenden Einstellungen in Ihrer
wp-config.php
Datei zu überprüfen und gegebenenfalls anzupassen:
// Enable WP_DEBUG mode<br />define( 'WP_DEBUG', true );<br /><br />// Enable Debug logging to the /wp-content/debug.log file<br />define( 'WP_DEBUG_LOG', true );<br /><br />// Disable display of errors and warnings<br />define( 'WP_DEBUG_DISPLAY', false );<br />@ini_set( 'display_errors', 0 );<br /><br />// Use dev versions of core JS and CSS files (only needed if you are modifying these core files)<br />define( 'SCRIPT_DEBUG', true );
Diese Einstellungen verhindern die Anzeige von Warnmeldungen auf Ihrer Website, ohne die Funktionalität zu beeinträchtigen. Sie können die
wp-config.php
Datei so belassen, wie sie ist.
Bitte beachten Sie, dass diese Lösung möglicherweise veraltet oder nicht auf Ihr Problem zutreffend ist. Wir empfehlen Ihnen, die bekannten Probleme zu überprüfen, die Version der dauerhaften Lösung zu bestätigen und sicherzustellen, dass Sie die neuesten Versionen von Themes und Plugins installiert haben. Sollten weiterhin Probleme auftreten, zögern Sie nicht, ein neues Support-Ticket zu eröffnen. Besuchen Sie dazu unser Support-Forum.
Problem: You are using the Twenty Twenty Four theme with a focus on Full Site Editor and are facing issues with adding the WPML language switcher block directly to the default top navigation. Additionally, you are seeking guidance on updating the translated template files for Pages and Front Page. Solution: To add the WPML language switcher block directly to the default top navigation, you should first manually edit the navigation block. Once you have manually edited the block, you will see an option in the sidebar to add more blocks. Here, you can select and add a "Navigation Language Switcher" block to your menu.
If this solution does not resolve your issue, or if it seems outdated or not applicable to your specific case, we recommend opening a new support ticket. We also highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. For further assistance, please visit our support forum at WPML Support Forum.