Este hilo está resuelto. Aquí tienes una descripción del problema y la solución.
Problem:
The client, Sven, reported an issue with excessive resource usage in the database and a problem with the translation of author meta descriptions in a Divi theme WordPress site. The author's meta description was not translating correctly, although the author's title was.
Solution:
We performed several troubleshooting steps. For the performance issue, we suggested:
1. Visit the WPML String Translation page at WPML String Translation
2. Select and delete a significant number of strings to see if this resolves the performance issue.
3. Deactivate the caching plugin as strings can only be deleted after the cache is cleared.
For the issue with the author's meta description not translating, we provided a workaround involving editing a PHP file in the Divi theme:
- Create a backup of the entire site
- Navigate to ...wp-content/themes/Divi/includes/builder/feature/dynamic-content.php
- Locate line 1026 and replace:
if ( $post ) {
$author = get_userdata( $post->post_author );
} elseif ( is_author() ) {with:
if ( $post ) {
$author = get_userdata( $post->post_author );
if ( class_exists('Sitepress') ) {
$author->description = get_the_author_meta('description', $author->ID);
}
} elseif ( is_author() ) {- Save the changes and check the results.
If these solutions do not resolve your issues or seem outdated, we recommend opening a new support ticket. We also highly recommend checking related known issues at WPML 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 Spanish Support Forum.
Este es el foro de soporte técnico de WPML, el plugin multilingüe de WordPress.
Todas las personas pueden leerlo pero solo los clientes de WPML pueden ingresar comentarios. El equipo de WPML responde en los foros 6 días a la semana, 22 horas por día.
Este tema deriva de https://wpml.org/es/forums/topic/errores-500-timeout-a-diario-en-relacion-a-traduccion-de-cadenas/
Este tema contiene 46 respuestas, tiene 0 voices.
Última actualización por hace 1 semana, 5 días.
Asistido por: Paola Mendiburu.