Salta la navigazione

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.

Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 15:00 8:00 – 15:00 8:00 – 15:00 8:00 – 15:00 8:00 – 15:00 -
- 16:00 – 17:00 16:00 – 17:00 16:00 – 17:00 16:00 – 17:00 16:00 – 17:00 -

Fuso orario del fornitore: Europe/Rome (GMT+01:00)

Questo ticket contiene 5 risposte, ha 3 voci.

Ultimo aggiornamento da Alejandro 1 anno, 6 mese fa.

Assistito da: Alejandro.

Autore Messaggi
Luglio 28, 2023 a 8:44 am #14115511

nicolaC-22

Sto tentando di:

Link a una pagina dove è possibile vedere il problema: link nascosto purtroppo il sito dice di avere un problema tecnico e nell'email inviata da wordpress c'è questo errore:

Dettagli dell'errore
====================
Un errore di E_ERROR è stato causato nella linea 37 del file /var/www/vhosts/psesrl.it/httpdocs/wp-content/plugins/wpml-string-translation/inc/private-actions.php. Messaggio di errore: Uncaught Error: Class "WPML_ST_WP_Loaded_Action" not found in /var/www/vhosts/psesrl.it/httpdocs/wp-content/plugins/wpml-string-translation/inc/private-actions.php:37
Stack trace:
#0 /var/www/vhosts/psesrl.it/httpdocs/wp-includes/class-wp-hook.php(308): wpml_st_initialize_basic_strings()
#1 /var/www/vhosts/psesrl.it/httpdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#2 /var/www/vhosts/psesrl.it/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /var/www/vhosts/psesrl.it/httpdocs/wp-settings.php(645): do_action()
#4 /var/www/vhosts/psesrl.it/httpdocs/wp-config.php(90): require_once('...')
#5 /var/www/vhosts/psesrl.it/httpdocs/wp-load.php(50): require_once('...')
#6 /var/www/vhosts/psesrl.it/httpdocs/wp-admin/admin-ajax.php(22): require_once('...')
#7 {main}
thrown

Mi aspettavo di vedere: che il sito torni online

Invece ho ottenuto: il sito è crollato

Luglio 28, 2023 a 9:45 am #14115941

nicolaC-22

Se occorre posso fornirvi gli accessi di wordpress, abbiamo l'autorizzazione ora

Luglio 28, 2023 a 10:55 am #14116491

nicolaC-22

Nel frattempo mi ha risposto l'assistenza dell'hosting dicendomi che a loro risulta questo problema legato a WPML:

questo errore che indica una tabella mancante nel database "pse_it_db.t_pse_wp_icl_background_task"

AH01071: Got error 'PHP message: WordPress database error Table 'pse_it_db.t_pse_wp_icl_background_task' doesn't exist for query SELECT * FROM t_pse_wp_icl_background_task WHERE task_status IN ('1','0','2') AND 1=1 made by require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('wp_loaded'), WP_Hook->do_action, WP_Hook->apply_filters, WPML\\LIB\\WP\\Hooks::WPML\\LIB\\WP\\{closure}, WPML\\FP\\Promise->resolve, WPML\\FP\\Right->chain, WPML\\FP\\Right->map, WPML\\BackgroundTask\\BackgroundTaskLoader->WPML\\BackgroundTask\\{closure}, WPML\\BackgroundTask\\BackgroundTaskLoader->getSerializedTasks, WPML\\Core\\BackgroundTask\\Repository\\BackgroundTaskRepository->getAllRunnableTasks, WPML\\Core\\BackgroundTask\\Repository\\BackgroundTaskRepository->getAllByTaskStatus', referer: link nascosto

Può essere che l'altro tecnico interrompendo l'abbonamento con voi abbia causato questo problema a livello di database?

Luglio 30, 2023 a 5:26 am #14122135

Prosenjit Barman
Supporter

Lingue: Inglese (English )

Fuso orario: Asia/Dhaka (GMT+06:00)

Hello There,
Thanks for contacting WPML Support. We're experiencing a high volume of tickets in the Italian support forum, which is why I've taken this ticket and will be responding in English. If you would prefer to continue with an Italian-speaking supporter, please let us know in the next response. We will be happy to proceed accordingly.

Before this thread gets assigned to my colleague, I'd like to guide you through a possible solution. From the error details, it seems the installation of String Translation and WPML wasn't done properly which is why, the error is showing on your end. Please try the following steps and check if that helps to solve the issue.

- Please reactive and delete the WPML and String Translation plugin from your site.
- Go to your WPML account(https://wpml.org/account/downloads/) and download the latest version of the WPML and String Translation plugin.
- Install both plugins on your site.

Please try and let us know how it goes.

Best Regards,
Prosenjit

Luglio 31, 2023 a 7:49 am #14124567

nicolaC-22

Hi thanks for the reply. I wonder if I delete and install WPML again and String Translation don't I lose all English translations?

Luglio 31, 2023 a 3:32 pm #14128615

Alejandro
Supporter

Lingue: Inglese (English ) Spagnolo (Español ) Italiano (Italiano )

Fuso orario: Europe/Rome (GMT+01:00)

Ciao!

Se cancelli e rinstalli WPML non perderai niente, ma se mancano tabelle allora potrebbe essere questo una parte di quello che ti crea i problemi (anche se l'errore che ci hai inviato prima e quello dopo non sembrano collegati)

1) Elimina WPML e tutti i suoi add-on dal tuo sito
2) Scarica l'OTGS Installer da https://wpml.org/it/account/downloads/
3) Installa da lí i nostri plugin
4) Per ora basta avere solo WPML e String translation

Una volta installati prova a fare questo:

- Edita il file "functions.php" del tuo tema attivo
- aggiungi questo codice alla fine del file:

function wpmlsupp_1891_fix_missing_icl_tables() {
    if( function_exists( 'icl_sitepress_activate' ) )
        icl_sitepress_activate();
}
add_action( 'wp_footer', 'wpmlsupp_1891_fix_missing_icl_tables' );

- Apri la homepage nel front-end
- Rimuovi il codice da file functions.php
- Chiedi al tuo hosting se vede ancora quel errore comparire nei diversi log (dove l'hanno visto prima)

- Se ti è possibile chiedi al hosting o controlla tu stesso quante tabelle "_icl_" trovi in totale

Fammi sapere per capire come continuare.

L'argomento '[Chiuso] Il plugin WPML non è in grado di connettersi al vostro sito' è chiuso a nuove risposte.