Questo thread è stato risolto. Ecco una descrizione del problema e della soluzione.
Problema: Il cliente ha riscontrato un problema con la traduzione delle pagine e un errore PHP quando visualizza i prodotti in francese. L'errore è causato da template/widget di Ecomus che ricevono dati non validi. Soluzione: Abbiamo richiesto l'accesso temporaneo (wp-admin e FTP) per esaminare meglio il problema. È importante effettuare un backup prima di fornire l'accesso. Inoltre, abbiamo suggerito di aprire il template nella lingua tradotta, cliccare su Modifica e verificare che tutte le impostazioni siano configurate correttamente.
Se la soluzione proposta risulta non pertinente, perché potrebbe essere datata o non applicabile al tuo caso, ti consigliamo di aprire un nuovo ticket di supporto. Ti raccomandiamo inoltre di consultare la pagina dei problemi noti, verificare la versione della correzione permanente e confermare di avere installato le ultime versioni di temi e plugin. Per assistenza ulteriore, visita il forum di supporto WPML.
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.
Grazie per il video. Come potrai immaginare, è impossibile farlo manualmente per tutte le pagine. Una volta che l'utente seleziona la lingua francese, non esiste un modo affinché questa lingua venga tenuta sulle pagine disponibili in quella lingua, senza tradurre di volta in volta gli URL?
Inoltre vorrei segnalare un altro problema. Ho creato ed importato un CSV per i prodotti in francese seguendo rigorosamente la documentazione. I prodotti risultano correttamente collegati, ma quando visualizzo il prodotto il francese visualizzo un errore PHP
Esempio prodotto italiano: link nascosto
Esempio stesso prodotto in francese: link nascosto
Grazie per la tua pazienza e la tua collaborazione.
Lingue: Inglese (English )Spagnolo (Español )Italiano (Italiano )
Fuso orario: Europe/Madrid (GMT+01:00)
Per conoscere i dettagli dell’errore che stai riscontrando, potresti fare quanto segue?- Accedi al file wp-config.php (situato nella root di WordPress).
- Inserisci queste righe subito prima di /* That's all, stop editing! Happy blogging. */
Ecco i log
[10-Nov-2025 15:33:25 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the
flexible-shipping
domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the
init
action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/customer/www/staging2.tomasucci.com/public_html/wp-includes/functions.php on line 6121
[10-Nov-2025 15:33:25 UTC] PHP Deprecated: Creation of dynamic property Trustpilot\Review\Plugin::$plugin_version is deprecated in /home/customer/www/staging2.tomasucci.com/public_html/wp-content/plugins/trustpilot-reviews/review/Plugin.php on line 38
[10-Nov-2025 15:33:25 UTC] PHP Deprecated: Creation of dynamic property Trustpilot\Review\Admin::$plugin_slug is deprecated in /home/customer/www/staging2.tomasucci.com/public_html/wp-content/plugins/trustpilot-reviews/review/Admin.php on line 46
[10-Nov-2025 15:33:25 UTC] PHP Deprecated: Creation of dynamic property Trustpilot\Review\Admin::$version is deprecated in /home/customer/www/staging2.tomasucci.com/public_html/wp-content/plugins/trustpilot-reviews/review/Admin.php on line 47
[10-Nov-2025 15:33:25 UTC] PHP Deprecated: Creation of dynamic property Trustpilot\Review\TrustBox::$plugin_version is deprecated in /home/customer/www/staging2.tomasucci.com/public_html/wp-content/plugins/trustpilot-reviews/review/TrustBox.php on line 36
[10-Nov-2025 15:33:26 UTC] PHP Warning: Undefined array key 0 in /home/customer/www/staging2.tomasucci.com/public_html/wp-content/plugins/ecomus-addons/inc/elementor/builder/widgets/product-navigation.php on line 175
[10-Nov-2025 15:33:26 UTC] PHP Fatal error: Uncaught Error: Object of class WP_Error could not be converted to string in /home/customer/www/staging2.tomasucci.com/public_html/wp-content/plugins/ecomus-addons/inc/elementor/builder/widgets/product-navigation.php:222
Stack trace:
#0 /home/customer/www/staging2.tomasucci.com/public_html/wp-content/plugins/elementor/includes/base/controls-stack.php(2374): Ecomus\Addons\Elementor\Builder\Widgets\Product_Navigation->render()
#1 /home/customer/www/staging2.tomasucci.com/public_html/wp-content/plugins/elementor/includes/base/widget-base.php(636): Elementor\Controls_Stack->render_by_mode()
#2 /home/customer/www/staging2.tomasucci.com/public_html/wp-content/plugins/elementor/includes/base/widget-base.php(774): Elementor\Widget_Base->render_content()
#3 /home/customer/www/staging2.tomasucci.com/public_html/wp-content/plugins/elementor/includes/base/element-base.php(492): Elementor\Widget_Base->print_content()
#4 /home/customer/www/staging2.tomasucci.com/public_html/wp-content/plugins/elementor/modules/element-cache/module.php(71): Elementor\Element_Base->print_element()
#5 /home/customer/www/staging2.tomasucci.com/public_html/wp-includes/shortcodes.php(434): Elementor\Modules\ElementCache\Module->Elementor\Modules\ElementCache\{closure}(Array, '', 'elementor-eleme...')
#6 [internal function]: do_shortcode_tag(Array)
#7 /home/customer/www/staging2.tomasucci.com/public_html/wp-includes/shortcodes.php(273): preg_replace_callback('/\\[(\\[?)(elemen...', 'do_shortcode_ta...', '<div class="ele...')
#8 /home/customer/www/staging2.tomasucci.com/public_html/wp-content/plugins/elementor/core/base/document.php(1868): do_shortcode('<div class="ele...')
#9 /home/customer/www/staging2.tomasucci.com/public_html/wp-content/plugins/elementor/core/base/document.php(1201): Elementor\Core\Base\Document->print_elements(Array)
#10 /home/customer/www/staging2.tomasucci.com/public_html/wp-content/plugins/elementor/includes/frontend.php(1172): Elementor\Core\Base\Document->print_elements_with_wrapper(Array)
#11 /home/customer/www/staging2.tomasucci.com/public_html/wp-content/plugins/elementor/includes/frontend.php(1240): Elementor\Frontend->get_builder_content(4922, false)
#12 /home/customer/www/staging2.tomasucci.com/public_html/wp-content/plugins/ecomus-addons/inc/elementor/builder/inc/product.php(211): Elementor\Frontend->get_builder_content_for_display(4922, false)
#13 /home/customer/www/staging2.tomasucci.com/public_html/wp-includes/class-wp-hook.php(324): Ecomus\Addons\Elementor\Builder\Product->product_content_builder(Object(WP_Post))
#14 /home/customer/www/staging2.tomasucci.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#15 /home/customer/www/staging2.tomasucci.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#16 /home/customer/www/staging2.tomasucci.com/public_html/wp-content/plugins/ecomus-addons/inc/elementor/builder/templates/single-template-builder.php(33): do_action('ecomus_woocomme...', Object(WP_Post))
#17 /home/customer/www/staging2.tomasucci.com/public_html/wp-content/plugins/ecomus-addons/inc/elementor/builder/inc/helper.php(107): include_once('/home/customer/...')
#18 [internal function]: Ecomus\Addons\Elementor\Builder\Helper::Ecomus\Addons\Elementor\Builder\{closure}()
#19 /home/customer/www/staging2.tomasucci.com/public_html/wp-content/plugins/elementor/modules/page-templates/module.php(207): call_user_func(Object(Closure))
#20 /home/customer/www/staging2.tomasucci.com/public_html/wp-content/plugins/elementor/modules/page-templates/templates/header-footer.php(19): Elementor\Modules\PageTemplates\Module->print_content()
#21 /home/customer/www/staging2.tomasucci.com/public_html/wp-includes/template-loader.php(106): include('/home/customer/...')
#22 /home/customer/www/staging2.tomasucci.com/public_html/wp-blog-header.php(19): require_once('/home/customer/...')
#23 /home/customer/www/staging2.tomasucci.com/public_html/index.php(17): require('/home/customer/...')
#24 {main}
thrown in /home/customer/www/staging2.tomasucci.com/public_html/wp-content/plugins/ecomus-addons/inc/elementor/builder/widgets/product-navigation.php on line 222
[10-Nov-2025 15:33:27 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the
flexible-shipping
domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the
init
action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/customer/www/staging2.tomasucci.com/public_html/wp-includes/functions.php on line 6121
[10-Nov-2025 15:33:27 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the
flexible-shipping
domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the
init
action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/customer/www/staging2.tomasucci.com/public_html/wp-includes/functions.php on line 6121
[10-Nov-2025 15:33:27 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the
flexible-shipping
domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the
init
action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/customer/www/staging2.tomasucci.com/public_html/wp-includes/functions.php on line 6121
[10-Nov-2025 15:33:27 UTC] PHP Deprecated: Creation of dynamic property Trustpilot\Review\Plugin::$plugin_version is deprecated in /home/customer/www/staging2.tomasucci.com/public_html/wp-content/plugins/trustpilot-reviews/review/Plugin.php on line 38
[10-Nov-2025 15:33:27 UTC] PHP Deprecated: Creation of dynamic property Trustpilot\Review\Admin::$plugin_slug is deprecated in /home/customer/www/staging2.tomasucci.com/public_html/wp-content/plugins/trustpilot-reviews/review/Admin.php on line 46
[10-Nov-2025 15:33:27 UTC] PHP Deprecated: Creation of dynamic property Trustpilot\Review\Admin::$version is deprecated in /home/customer/www/staging2.tomasucci.com/public_html/wp-content/plugins/trustpilot-reviews/review/Admin.php on line 47
[10-Nov-2025 15:33:27 UTC] PHP Deprecated: Creation of dynamic property Trustpilot\Review\TrustBox::$plugin_version is deprecated in /home/customer/www/staging2.tomasucci.com/public_html/wp-content/plugins/trustpilot-reviews/review/TrustBox.php on line 36
[10-Nov-2025 15:33:27 UTC] PHP Deprecated: Creation of dynamic property Trustpilot\Review\Plugin::$plugin_version is deprecated in /home/customer/www/staging2.tomasucci.com/public_html/wp-content/plugins/trustpilot-reviews/review/Plugin.php on line 38
[10-Nov-2025 15:33:27 UTC] PHP Deprecated: Creation of dynamic property Trustpilot\Review\Admin::$plugin_slug is deprecated in /home/customer/www/staging2.tomasucci.com/public_html/wp-content/plugins/trustpilot-reviews/review/Admin.php on line 46
[10-Nov-2025 15:33:27 UTC] PHP Deprecated: Creation of dynamic property Trustpilot\Review\Admin::$version is deprecated in /home/customer/www/staging2.tomasucci.com/public_html/wp-content/plugins/trustpilot-reviews/review/Admin.php on line 47
[10-Nov-2025 15:33:27 UTC] PHP Deprecated: Creation of dynamic property Trustpilot\Review\TrustBox::$plugin_version is deprecated in /home/customer/www/staging2.tomasucci.com/public_html/wp-content/plugins/trustpilot-reviews/review/TrustBox.php on line 36
[10-Nov-2025 15:33:27 UTC] PHP Deprecated: Creation of dynamic property Trustpilot\Review\Plugin::$plugin_version is deprecated in /home/customer/www/staging2.tomasucci.com/public_html/wp-content/plugins/trustpilot-reviews/review/Plugin.php on line 38
[10-Nov-2025 15:33:27 UTC] PHP Deprecated: Creation of dynamic property Trustpilot\Review\Admin::$plugin_slug is deprecated in /home/customer/www/staging2.tomasucci.com/public_html/wp-content/plugins/trustpilot-reviews/review/Admin.php on line 46
[10-Nov-2025 15:33:27 UTC] PHP Deprecated: Creation of dynamic property Trustpilot\Review\Admin::$version is deprecated in /home/customer/www/staging2.tomasucci.com/public_html/wp-content/plugins/trustpilot-reviews/review/Admin.php on line 47
[10-Nov-2025 15:33:27 UTC] PHP Deprecated: Creation of dynamic property Trustpilot\Review\TrustBox::$plugin_version is deprecated in /home/customer/www/staging2.tomasucci.com/public_html/wp-content/plugins/trustpilot-reviews/review/TrustBox.php on line 36
[10-Nov-2025 15:33:28 UTC] PHP Warning: Undefined variable $product in /home/customer/www/staging2.tomasucci.com/public_html/wp-content/themes/ecomus/inc/woocommerce/general.php on line 555
[10-Nov-2025 15:33:28 UTC] PHP Fatal error: Uncaught Error: Call to a member function is_taxable() on null in /home/customer/www/staging2.tomasucci.com/public_html/wp-content/plugins/woocommerce/includes/wc-product-functions.php:1201
Stack trace:
#0 /home/customer/www/staging2.tomasucci.com/public_html/wp-content/themes/ecomus/inc/woocommerce/general.php(555): wc_get_price_including_tax(NULL, Array)
#1 /home/customer/www/staging2.tomasucci.com/public_html/wp-includes/class-wp-hook.php(324): Ecomus\WooCommerce\General->cart_subtotal('<span class="wo...', false, Object(WC_Cart))
#2 /home/customer/www/staging2.tomasucci.com/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters('<span class="wo...', Array)
#3 /home/customer/www/staging2.tomasucci.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart.php(2143): apply_filters('woocommerce_car...', '<span class="wo...', false, Object(WC_Cart))
#4 /home/customer/www/staging2.tomasucci.com/public_html/wp-content/plugins/elementor-pro/modules/woocommerce/module.php(854): WC_Cart->get_cart_subtotal()
#5 /home/customer/www/staging2.tomasucci.com/public_html/wp-includes/class-wp-hook.php(324): ElementorPro\Modules\Woocommerce\Module->e_cart_count_fragments(Array)
#6 /home/customer/www/staging2.tomasucci.com/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array)
#7 /home/customer/www/staging2.tomasucci.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(252): apply_filters('woocommerce_add...', Array)
#8 /home/customer/www/staging2.tomasucci.com/public_html/wp-includes/class-wp-hook.php(324): WC_AJAX::get_refreshed_fragments('')
#9 /home/customer/www/staging2.tomasucci.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#10 /home/customer/www/staging2.tomasucci.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#11 /home/customer/www/staging2.tomasucci.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(116): do_action('wc_ajax_get_ref...')
#12 /home/customer/www/staging2.tomasucci.com/public_html/wp-includes/class-wp-hook.php(324): WC_AJAX::do_wc_ajax('')
#13 /home/customer/www/staging2.tomasucci.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(false, Array)
#14 /home/customer/www/staging2.tomasucci.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#15 /home/customer/www/staging2.tomasucci.com/public_html/wp-includes/template-loader.php(13): do_action('template_redire...')
#16 /home/customer/www/staging2.tomasucci.com/public_html/wp-blog-header.php(19): require_once('/home/customer/...')
#17 /home/customer/www/staging2.tomasucci.com/public_html/index.php(17): require('/home/customer/...')
#18 {main}
thrown in /home/customer/www/staging2.tomasucci.com/public_html/wp-content/plugins/woocommerce/includes/wc-product-functions.php on line 1201
Lingue: Inglese (English )Spagnolo (Español )Italiano (Italiano )
Fuso orario: Europe/Madrid (GMT+01:00)
Questi Fatal spiegano perché la pagina/prodotto “salta” durante la traduzione o il rendering: non dipende da WPML in sé, ma da template/widget di Ecomus (tema + addons per Elementor) che in certe condizioni ricevono dati non validi (ad es. $product nullo) e vanno in errore.
Vorrei richiedere un accesso temporaneo (wp-admin e FTP) al vostro sito per esaminare meglio il problema. Troverai i campi necessari sotto l'area commenti quando accedi per lasciare la tua prossima risposta. Le informazioni che inserirai sono private, il che significa che solo tu e io possiamo vederle e accedervi.
- Si prega di effettuare un backup dei file e del database del sito prima di fornirci l'accesso.
- Se non vedi i campi wp-admin/FTP significa che i dettagli di accesso al tuo post e al tuo sito web verranno resi PUBBLICI. NON pubblicare i dettagli del tuo sito web a meno che non vedi i campi wp-admin/FTP richiesti. Se non lo fai, chiedimi di abilitare la casella privata.
La casella privata è simile a questa: link nascosto
ente temporaneo, così potremo eliminarlo dopo aver chiuso la segnalazione.