Questo thread è stato risolto. Ecco una descrizione del problema e della soluzione.
Problem:
After installing WPML, the client is experiencing JavaScript errors that block the loading of front-end elements like sliders and images. The errors include 'Error: attribute d: Expected number, “...u003Cscript data-cfa...”' and 'Uncaught SyntaxError: Unexpected identifier 'https''. These issues persist even after disabling WP Rocket's JS minification and clearing the Cloudflare cache.
Solution:
We recommend the following steps to address the issue:
1. Review the rendered HTML for any unwanted script/data-cfa injections into SVG or JS tags, particularly focusing on scripts related to Cloudflare or other optimization services.
2. Check for compatibility issues with the theme or third-party builders like Elementor Pro.
3. Avoid deactivating plugins in the production environment and refrain from reapplying the WPML activation code snippet as it was confirmed irrelevant by the client.
4. If possible, consider requesting access to a staging copy or employing safe diagnostic methods that are acceptable in a live environment.
Please note that this solution might be outdated or not applicable to your specific case. We 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. If the issue persists, please open a new support ticket at WPML support forum.
Questo è il forum di assistenza tecnica di WPML, il plug-in multilingue di WordPress.
La sua lettura è permessa a tutti, ma la pubblicazione è riservata esclusivamente ai clienti di WPML. Il team di WPML risponde sul forum 6 giorni su 7, 22 ore su 24.
Questo ticket contiene 1 risposte, ha 0 voci.
Ultimo aggiornamento da 1 mese, 2 settimana fa.
Assistito da: Paola Mendiburu.