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.

Etichettato: 

Questo ticket contiene 22 risposte, ha 2 voci.

Ultimo aggiornamento da Paola Mendiburu 1 anno, 5 mesi fa.

Assistito da: Paola Mendiburu.

Autore Messaggi
Luglio 11, 2023 a 8:17 am #14011355

antonio

Hello, we are transferring our website to a new cloud server.
On the new server we have problems with wpml and wpallimport importing new products, you can view the error here:

[10-Jul-2023 17:00:45 UTC] WordPress database error Duplicate entry '0' for key 'PRIMARY' for query INSERT INTO `mdanws_icl_translation_status` (`translation_id`, `status`, `translator_id`, `needs_update`, `md5`, `translation_service`, `translation_package`) VALUES ('47764', '10', '2', '', '5aff9f0d62fe41800696ee518881623e', 'local', 'a:4:{s:3:\"url\";s:29:\"<em><u>link nascosto</u></em>\";s:5:\"title\";s:27:\"CARNE LESS. GEL. SIMMENTHAL\";s:8:\"contents\";a:8:{s:11:\"original_id\";a:2:{s:9:\"translate\";i:0;s:4:\"data\";i:1071516;}s:5:\"title\";a:3:{s:9:\"translate\";i:1;s:4:\"data\";s:36:\"Q0FSTkUgTEVTUy4gR0VMLiBTSU1NRU5USEFM\";s:6:\"format\";s:6:\"base64\";}s:4:\"body\";a:3:{s:9:\"translate\";i:1;s:4:\"data\";s:128:\"Y3QgZGEgOTZ4OTBnciAgKDUxNjgpPHNwYW4gc3R5bGU9ImNvbG9yOnRyYW5zcGFyZW50O2ZvbnQtc2l6ZToxcHg7Ij4gMjAyMy0wNC0wNCAxNzowMTo0OTwvc3Bhbj4=\";s:6:\"format\";s:6:\"base64\";}s:7:\"excerpt\";a:3:{s:9:\"translate\";i:1;s:4:\"data\";s:0:\"\";s:6:\"format\";s:6:\"base64\";}s:4:\"t_54\";a:3:{s:9:\"translate\";i:1;s:4:\"data\";s:24:\"Q29uc2VydmUgZGkgY2FybmU=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pYSBwb3RldGUgdHJvdmFyZTogcGFzdGEsIHJpc28sIGNvbnNlcnZlIGRpIHZhcmlvIGdlbmVyZSwgZmFyaW5lLCBwYW5lIGUgZGVyaXZhdGksIHNwZXppZSwgZXJiZSBhcm9tYXRpY2hlLCBzYWxlLCBicm9kbywgZGFkaSwgbWluZXN0cmUsIG9saWkgZSBncmFzc2kgdmVnZXRhbGksIGFjZXRvLCBzYWxzZSwgYmlzY290dGksIG1lcmVuZGluZSwgc25hY2tzLCBjYWZmw6gsIHTDqCwgaW5mdXNpLCBjaW9jY29sYXRhLCB6dWNjaGVybywgZG9sY2lmaWNhbnRpLCBkb2xjaSwgcHJlcGFyYXRpIHBlciBpIGRvbGNpIGUgbWFybWVsbGF0ZSwgb21vZ2VuZWl6emF0aSwgZGlldGV0aWNpLCBmcnV0dGEgZSB2ZXJkdXJhIHNlY2NhLCB1b3ZhLCBiZXZhbmRlLCB2aW5pLCBkaXN0aWxsYXRpLCBsaXF1b3JpLCBsYXR0ZSBlIGRlcml2YXRpIGEgbHVuZ2EgY29uc2VydmF6aW9uZS48L3NwYW4+DQoNCjxzcGFuIHN0eWxlPSJmb250LXdlaWdodDogNDAwOyI+UXVpIHRyb3ZlcmV0ZSBhbmNoZSB0dXR0byBjacOyIGNoZSBvY2NvcnJlIGFsbGEgZ2VzdGlvbmUgZGVsbGEgdm9zdHJhIGF0dGl2aXTDoDogYXJ0aWNvbGkgY2FydGEgZSBwbGFzdGljYSwgYXJ0aWNvbGkgcGVyIHB1bGl6aWEsIGRldGVyc2l2aSBlIGF0dHJlenphdHVyZS48L3NwYW4+\";s:6:\"format\";s:6:\"base64\";}}s:4:\"type\";s:4:\"post\";}') made by do_action('admin_init'), WP_Hook->do_action, WP_Hook->apply_filters, PMXI_Plugin->adminInit, PMXI_Admin_Import->process, PMXI_Import_Record->process, wp_update_post, wp_insert_post, do_action('save_post'), WP_Hook->do_action, WP_Hook->apply_filters, WPML_Admin_Post_Actions->save_post_actions, WPML_Post_Translation->after_save_post, do_action('wpml_tm_save_post'), WP_Hook->do_action, WP_Hook->apply_filters, wpml_tm_save_post, WPML_TM_Post_Actions->save_post_actions, TranslationManagement->update_translation_status
[10-Jul-2023 17:00:45 UTC] WordPress database error Duplicate entry '0' for key 'PRIMARY' for query INSERT INTO `mdanws_icl_translation_batches` (`batch_name`, `last_update`) VALUES ('Manual Translations from July the 10th, 2023', '2023-07-10 17:00:45') made by do_action('admin_init'), WP_Hook->do_action, WP_Hook->apply_filters, PMXI_Plugin->adminInit, PMXI_Admin_Import->process, PMXI_Import_Record->process, wp_update_post, wp_insert_post, do_action('save_post'), WP_Hook->do_action, WP_Hook->apply_filters, WPML_Admin_Post_Actions->save_post_actions, WPML_Post_Translation->after_save_post, do_action('wpml_tm_save_post'), WP_Hook->do_action, WP_Hook->apply_filters, wpml_tm_save_post, WPML_TM_Post_Actions->save_post_actions, TranslationManagement->update_translation_status, do_action('wpml_updated_translation_status'), WP_Hook->do_action, WP_Hook->apply_filters, TranslationProxy_Batch::maybe_assign_generic_batch, TranslationProxy_Batch::create_generic_batch, TranslationProxy_Batch::update_translation_batch, WPML\LIB\WP\Cache::WPML\LIB\WP\{closure}, call_user_func_array, TranslationProxy_Batch::{closure}, TranslationProxy_Batch::createBatchRecord
[10-Jul-2023 17:00:45 UTC] Backtrace from Exception "Unknown column: rid or invalid id: 0"In /var/www/vhosts/madiaspa.it/httpdocs/wp-content/plugins/sitepress-multilingual-cms/classes/records/class-wpml-tm-icl-translation-status.php [line 36]<unknown file> <unknown line> calling __construct() | /var/www/vhosts/madiaspa.it/httpdocs/wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/auryn/lib/Injector.php 415 calling newInstanceArgs() | /var/www/vhosts/madiaspa.it/httpdocs/wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/auryn/lib/Injector.php 373 calling provisionInstance() | /var/www/vhosts/madiaspa.it/httpdocs/wp-content/plugins/sitepress-multilingual-cms/classes/container/class-wpml-container.php 98 calling make() | /var/www/vhosts/madiaspa.it/httpdocs/wp-content/plugins/sitepress-multilingual-cms/classes/container/functions.php 29 calling make() | <unknown file> <unknown line> calling WPML\Container\{closure}() | /var/www/vhosts/madiaspa.it/httpdocs/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php 154 calling call_user_func_array() | <unknown file> <unknown line> calling WPML\FP\{closure}() | /var/www/vhosts/madiaspa.it/httpdocs/wp-content/plugins/sitepress-multilingual-cms/classes/container/functions.php 35 calling call_user_func_array() | /var/www/vhosts/madiaspa.it/httpdocs/wp-content/plugins/sitepress-multilingual-cms/classes/records/class-wpml-tm-icl-translation-status.php 198 calling WPML\Container\make() | /var/www/vhosts/madiaspa.it/httpdocs/wp-content/plugins/sitepress-multilingual-cms/inc/translation-jobs/helpers/wpml-update-translation-data-action.class.php 38 calling makeByRid() | /var/www/vhosts/madiaspa.it/httpdocs/wp-content/plugins/sitepress-multilingual-cms/inc/actions/wpml-tm-action-helper.class.php 19 calling add_translation_job() | /var/www/vhosts/madiaspa.it/httpdocs/wp-content/plugins/sitepress-multilingual-cms/inc/actions/wpml-tm-post-actions.class.php 83 calling add_translation_job() | /var/www/vhosts/madiaspa.it/httpdocs/wp-content/plugins/sitepress-multilingual-cms/inc/functions-load-tm.php 940 calling save_post_actions() | /var/www/vhosts/madiaspa.it/httpdocs/wp-includes/class-wp-hook.php 308 calling wpml_tm_save_post() | /var/www/vhosts/madiaspa.it/httpdocs/wp-includes/class-wp-hook.php 332 calling apply_filters() | /var/www/vhosts/madiaspa.it/httpdocs/wp-includes/plugin.php 517 calling do_action() | /var/www/vhosts/madiaspa.it/httpdocs/wp-content/plugins/sitepress-multilingual-cms/inc/post-translation/wpml-post-translation.class.php 213 calling do_action() | /var/www/vhosts/madiaspa.it/httpdocs/wp-content/plugins/sitepress-multilingual-cms/inc/post-translation/wpml-admin-post-actions.class.php 120 calling after_save_post() | /var/www/vhosts/madiaspa.it/httpdocs/wp-includes/class-wp-hook.php 310 calling save_post_actions() | /var/www/vhosts/madiaspa.it/httpdocs/wp-includes/class-wp-hook.php 332 calling apply_filters() | /var/www/vhosts/madiaspa.it/httpdocs/wp-includes/plugin.php 517 calling do_action() | /var/www/vhosts/madiaspa.it/httpdocs/wp-includes/post.php 4715 calling do_action() | /var/www/vhosts/madiaspa.it/httpdocs/wp-includes/post.php 4817 calling wp_insert_post() | /var/www/vhosts/madiaspa.it/httpdocs/wp-content/plugins/wp-all-import-pro/models/import/record.php 3023 calling wp_update_post() | /var/www/vhosts/madiaspa.it/httpdocs/wp-content/plugins/wp-all-import-pro/controllers/admin/import.php 2757 calling process() | /var/www/vhosts/madiaspa.it/httpdocs/wp-content/plugins/wp-all-import-pro/wp-all-import-pro.php 761 calling process() | /var/www/vhosts/madiaspa.it/httpdocs/wp-includes/class-wp-hook.php 308 calling adminInit() | /var/www/vhosts/madiaspa.it/httpdocs/wp-includes/class-wp-hook.php 332 calling apply_filters() | /var/www/vhosts/madiaspa.it/httpdocs/wp-includes/plugin.php 517 calling do_action() | /var/www/vhosts/madiaspa.it/httpdocs/wp-admin/admin.php 175 calling do_action()
Luglio 11, 2023 a 1:45 pm #14015809

Paola Mendiburu
Supporter

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

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

Ciao!

Sono Paola, spero vada tutto bene.

Abbiamo riscontrato un problema simile in passato ed è accaduto a causa di un campo della tabella del database mancante.

Se mi dai l'accesso e il permesso per installare il plugin Adminer, posso controllare quale colonna manca nella tabella icl_translation_status.

Ho appena selezionato le caselle necessarie in modo da poter aggiungere le credenziali in modo sicuro e privato.

Luglio 12, 2023 a 9:32 am #14021589

Paola Mendiburu
Supporter

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

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

Mi potresti aggiungere come amministratore?

Grazie.

Luglio 12, 2023 a 10:01 am #14021943

antonio

Fatto, scusami non so per quale motivo non aveva salvato il ruolo.

Luglio 12, 2023 a 11:50 am #14023461

Paola Mendiburu
Supporter

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

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

Grazie.

Il problema era che il campo rid dalla tabella icl_translation_status non era impostato come Autoincrement. L'ho cambiato e ora dovrebbe funzionare.

Ho impostato anche il field job_id come Autoincremente della tabella icl_translate_job.

Dimmi se adesso funziona.

Luglio 12, 2023 a 3:31 pm #14026651

antonio

mi da ancora errore di chiave:

mod_fcgid: stderr: WordPress database error Duplicate entry '0' for key 'PRIMARY' for query INSERT INTO `mdanws_icl_translation_batches` (`batch_name`, `last_update`) VALUES ('Manual Translations from July the 12th, 2023', '2023-07-12 15:30:05') made by do_action('admin_init'), WP_Hook->do_action, WP_Hook->apply_filters, PMXI_Plugin->adminInit, PMXI_Admin_Import->process, PMXI_Import_Record->process, wp_update_post, wp_insert_post, do_action('save_post'), WP_Hook->do_action, WP_Hook->apply_filters, WPML_Admin_Post_Actions->save_post_actions, WPML_Post_Translation->after_save_post, do_action('wpml_tm_save_post'), WP_Hook->do_action, WP_Hook->apply_filters, wpml_tm_save_post, WPML_TM_Post_Actions->save_post_actions, TranslationManagement->update_translation_status, do_action('wpml_updated_translation_status'), WP_Hook->do_action, WP_Hook->apply_filters, TranslationProxy_Batch::maybe_assign_generic_batch, TranslationProxy_Batch::create_generic_batch, TranslationProxy_Batch::update_translation_batch, WPML\\LIB\\WP\\Cache::WPML\\LIB\\WP\\{closure}, call_user_func_array, TranslationProxy_Batch::{closure}, TranslationProxy_Batch::createBatchRecord, referer: link nascosto

Luglio 13, 2023 a 8:31 am #14029909

Paola Mendiburu
Supporter

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

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

Risolto il errore.
Dimmi se ci sono più errori e se sì, dove posso trovarli?

Luglio 13, 2023 a 9:23 am #14030135

antonio

Ciao Paola,
trovi il log in root ftp nella cartella /logs

Ti allego comunque uno screen degli errori dopo l'ultimo tentativo di import.

Screenshot-2023-07-13-alle-11.20.56.jpg
Luglio 13, 2023 a 3:40 pm #14034715

Paola Mendiburu
Supporter

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

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

Sembra che ci siano stati problemi durante la migrazione e non sia stata completamente completata.

Ho controllato il database e ho sistemato tutte le tabelle relative a WPML.

Fammi sapere se ora funziona correttamente.

Luglio 14, 2023 a 8:02 am #14038015

antonio

Ciao Paola, purtroppo ci sono ancora errori wpml:

[Fri Jul 14 09:56:13.522375 2023] [fcgid:warn] [pid 1204489:tid 140082161903360] [client 151.18.116.198:0] mod_fcgid: stderr: WordPress database error Duplicate entry '0' for key 'PRIMARY' for query INSERT INTO `mdanws_icl_translation_status` (`translation_id`, `status`, `translator_id`, `needs_update`, `md5`, `translation_service`, `translation_package`) VALUES ('47764', '10', '1', '', '5aff9f0d62fe41800696ee518881623e', 'local', 'a:4:{s:3:\\"url\\";s:29:\\"<em><u>link nascosto</u></em>\\";s:5:\\"title\\";s:27:\\"CARNE LESS. GEL. SIMMENTHAL\\";s:8:\\"contents\\";a:8:{s:11:\\"original_id\\";a:2:{s:9:\\"translate\\";i:0;s:4:\\"data\\";i:1071516;}s:5:\\"title\\";a:3:{s:9:\\"translate\\";i:1;s:4:\\"data\\";s:36:\\"Q0FSTkUgTEVTUy4gR0VMLiBTSU1NRU5USEFM\\";s:6:\\"format\\";s:6:\\"base64\\";}s:4:\\"body\\";a:3:{s:9:\\"translate\\";i:1;s:4:\\"data\\";s:128:\\"Y3QgZGEgOTZ4OTBnciAgKDUxNjgpPHNwYW4gc3R5bGU9ImNvbG9yOnRyYW5zcGFyZW50O2ZvbnQtc2l6ZToxcHg7Ij4gMjAyMy0wNC0wNCAxNzowMTo0OTwvc3Bhbj4=\\";s:6:\\"format\\";s:6:\\"base64\\";}s:7:\\"excerpt\\";a:3:{s:9:\\"translate\\";i:1;s:4:\\"data\\";s:0:\\"\\";s:6:\\"format\\";s:6:\\"base64\\";}s:4:\\"t_54\\";a:3:{s:9:\\"translate\\";i:1;s:4:\\"data\\";s:24:\\"Q29uc2VydmUgZGkgY2FybmU=\\";s:6:\\"format\\";s:6:\\"base64\\";}s:8:\\"tdesc_54\\";a:3:{s:9:\\"translate\\";i:1;s:4:\\"data\\";s:144:\\"TGEgbm9zdHJhIHByb3Bvc3RhIGRpIGNvbnNlcnZlIGRpIGNhcm5lIGlkZWFsZSBwZXIgYWNjb21wYWduYXJlIGxlIG1pZ2xpb3JpIHByb3Bvc3RlIHBlciBpIHZvc3RyaSBjbGllbnRpLg==\\";s:6:\\"format\\";s:6:\\"base64\\";}s:3:\\"t_6\\";a:3:{s:9:\\"translate\\";i:1;s:4:\\"data\\";s:8:\\"U2VjY28=\\";s:6:\\"format\\";s:6:\\"base64\\";}s:7:\\"tdesc_6\\";a:3:{s:9:\\"translate\\";i:1;s:4:\\"data\\";s:1536:\\"PHNwYW4gc3R5bGU9ImZvbnQtd2VpZ2h0OiA0MDA7Ij5Qcm9wb25pYW1vIHVuYSB2YXN0YSBnYW1tYSBkaSA8c3Ryb25nPnByb2RvdHRpIHNlY2NoaTwvc3Ryb25nPiwgYXR0aSBhIHNvZGRpc2ZhcmUgb2duaSB0aXBvbG9naWEgZGkgcmljaGllc3RhLiBBbGzigJlpbnRlcm5vIGRlbGxhIGNhdGVnb3JpYSB2YW50aWFtbyB1buKAmWFtcGlhIHNlbGV6aW9uZSBkZWxsZSBtaWdsaW9yaSBtYXJjaGUsIGRhbGxhIHBhc3RhIGFsbGUgY29uc2VydmUsIGRhaSBkb2xjaSBhbGxlIGJldmFuZGU6IHR1dHRpIHByb2RvdHRpIHNlbGV6aW9uYXRpLCBjaGUgY29uc2lnbGlhbW8gcGVyIGdhcmFudGlyZSBxdWFsaXTDoCBlIGd1c3RvIGFpIHZvc3RyaSBwaWF0dGkuIFF1ZXN0YSBsaW5lYSBwcmVzZW50YSBhcnRpY29saSBpZG9uZWkgYWQgZXNzZXJlIGNvbnNlcnZhd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PMXI_Plugin->adminInit, PMXI_Admin_Import->process, PMXI_Import_Record->process, wp_update_post, wp_insert_post, do_action('save_post'), WP_Hook->do_action, WP_Hook->apply_filters, WPML_Admin_Post_Actions->save_post_actions, WPML_Post_Translation->after_save_post, do_action('wpml_tm_save_post'), WP_Hook->do_action, WP_Hook->apply_filters, wpml_tm_save_post, WPML_TM_Post_Actions->save_post_actions, TranslationManagement->update_translation_status, referer: <em><u>link nascosto</u></em>
[Fri Jul 14 09:56:13.522481 2023] [fcgid:warn] [pid 1204489:tid 140082161903360] [client 151.18.116.198:0] mod_fcgid: stderr: PHP Fatal error:  Uncaught InvalidArgumentException: Unknown column: rid or invalid id: 0 in /var/www/vhosts/madiaspa.it/httpdocs/wp-content/plugins/sitepress-multilingual-cms/classes/records/class-wpml-tm-icl-translation-status.php:36, referer: <em><u>link nascosto</u></em>
[Fri Jul 14 09:56:13.522502 2023] [fcgid:warn] [pid 1204489:tid 140082161903360] [client 151.18.116.198:0] mod_fcgid: stderr: Stack trace:, referer: <em><u>link nascosto</u></em>
[Fri Jul 14 09:56:13.522518 2023] [fcgid:warn] [pid 1204489:tid 140082161903360] [client 151.18.116.198:0] mod_fcgid: stderr: #0 [internal function]: WPML_TM_ICL_Translation_Status->__construct(), referer: <em><u>link nascosto</u></em>
[Fri Jul 14 09:56:13.522535 2023] [fcgid:warn] [pid 1204489:tid 140082161903360] [client 151.18.116.198:0] mod_fcgid: stderr: #1 /var/www/vhosts/madiaspa.it/httpdocs/wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/auryn/lib/Injector.php(415): ReflectionClass->newInstanceArgs(), referer: <em><u>link nascosto</u></em>
[Fri Jul 14 09:56:13.522552 2023] [fcgid:warn] [pid 1204489:tid 140082161903360] [client 151.18.116.198:0] mod_fcgid: stderr: #2 /var/www/vhosts/madiaspa.it/httpdocs/wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/auryn/lib/Injector.php(373): WPML\\Auryn\\Injector->provisionInstance(), referer: <em><u>link nascosto</u></em>
[Fri Jul 14 09:56:13.522569 2023] [fcgid:warn] [pid 1204489:tid 140082161903360] [client 151.18.116.198:0] mod_fcgid: stderr: #3 /var/www/vhosts/madiaspa.it/httpdocs/wp-content/plugins/sitepress-multilingual-cms/classes/container/class-wpml-container.php(98): WPML\\Auryn\\Injector->make(), referer: <em><u>link nascosto</u></em>
[Fri Jul 14 09:56:13.522596 2023] [fcgid:warn] [pid 1204489:tid 140082161903360] [client 151.18.116.198:0] mod_fcgid: stderr: #4 /var/www/vhosts/madiaspa.it/httpdocs/wp-content/plugins/sitepress-multilingual-cms/classes/container/functions.php(29): WPML\\Container\\Container::make(), referer: <em><u>link nascosto</u></em>
[Fri Jul 14 09:56:13.522613 2023] [fcgid:warn] [pid 1204489:tid 140082161903360] [client 151.18.116.198:0] mod_fcgid: stderr: #5 [internal function]: WPML\\Container\\{closure}(), referer: <em><u>link nascosto</u></em>
[Fri Jul 14 09:56:13.522629 2023] [fcgid:warn] [pid 1204489:tid 140082161903360] [client 151.18.116.198:0] mod_fcgid: stderr: #6 /var/www/vhosts/madiaspa.it/httpdocs/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php(154): call_user_func_array(), referer: <em><u>link nascosto</u></em>
[Fri Jul 14 09:56:13.522645 2023] [fcgid:warn] [pid 1204489:tid 140082161903360] [client 151.18.116.198:0] mod_fcgid: stderr: #7 [internal function]: WPML\\FP\\{closure}(), referer: <em><u>link nascosto</u></em>
[Fri Jul 14 09:56:13.522661 2023] [fcgid:warn] [pid 1204489:tid 140082161903360] [client 151.18.116.198:0] mod_fcgid: stderr: #8 /var/www/vhosts/madiaspa.it/httpdocs/wp-content/plugins/sitepress-multilingual-cms/classes/container/functions.php(35): call_user_func_array(), referer: <em><u>link nascosto</u></em>
[Fri Jul 14 09:56:13.522678 2023] [fcgid:warn] [pid 1204489:tid 140082161903360] [client 151.18.116.198:0] mod_fcgid: stderr: #9 /var/www/vhosts/madiaspa.it/httpdocs/wp-content/plugins/sitepress-multilingual-cms/classes/records/class-wpml-tm-icl-translation-status.php(198): WPML\\Container\\make(), referer: <em><u>link nascosto</u></em>
[Fri Jul 14 09:56:13.522694 2023] [fcgid:warn] [pid 1204489:tid 140082161903360] [client 151.18.116.198:0] mod_fcgid: stderr: #10 /var/www/vhosts/madiaspa.it/httpdocs/wp-content/plugins/sitepress-multilingual-cms/inc/translation-jobs/helpers/wpml-update-translation-data-action.class.php(38): WPML_TM_ICL_Translation_Status::makeByRid(), referer: <em><u>link nascosto</u></em>
[Fri Jul 14 09:56:13.522711 2023] [fcgid:warn] [pid 1204489:tid 140082161903360] [client 151.18.116.198:0] mod_fcgid: stderr: #11 /var/www/vhosts/madiaspa.it/httpdocs/wp-content/plugins/sitepress-multilingual-cms/inc/actions/wpml-tm-action-helper.class.php(19): WPML_TM_Update_Translation_Data_Action->add_translation_job(), referer: <em><u>link nascosto</u></em>
[Fri Jul 14 09:56:13.522727 2023] [fcgid:warn] [pid 1204489:tid 140082161903360] [client 151.18.116.198:0] mod_fcgid: stderr: #12 /var/www/vhosts/madiaspa.it/httpdocs/wp-content/plugins/sitepress-multilingual-cms/inc/actions/wpml-tm-post-actions.class.php(83): WPML_TM_Action_Helper->add_translation_job(), referer: <em><u>link nascosto</u></em>
[Fri Jul 14 09:56:13.522744 2023] [fcgid:warn] [pid 1204489:tid 140082161903360] [client 151.18.116.198:0] mod_fcgid: stderr: #13 /var/www/vhosts/madiaspa.it/httpdocs/wp-content/plugins/sitepress-multilingual-cms/inc/functions-load-tm.php(940): WPML_TM_Post_Actions->save_post_actions(), referer: <em><u>link nascosto</u></em>
[Fri Jul 14 09:56:13.522760 2023] [fcgid:warn] [pid 1204489:tid 140082161903360] [client 151.18.116.198:0] mod_fcgid: stderr: #14 /var/www/vhosts/madiaspa.it/httpdocs/wp-includes/class-wp-hook.php(308): wpml_tm_save_post(), referer: <em><u>link nascosto</u></em>
[Fri Jul 14 09:56:13.522776 2023] [fcgid:warn] [pid 1204489:tid 140082161903360] [client 151.18.116.198:0] mod_fcgid: stderr: #15 /var/www/vhosts/madiaspa.it/httpdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(), referer: <em><u>link nascosto</u></em>
[Fri Jul 14 09:56:13.522792 2023] [fcgid:warn] [pid 1204489:tid 140082161903360] [client 151.18.116.198:0] mod_fcgid: stderr: #16 /var/www/vhosts/madiaspa.it/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action(), referer: <em><u>link nascosto</u></em>
[Fri Jul 14 09:56:13.522809 2023] [fcgid:warn] [pid 1204489:tid 140082161903360] [client 151.18.116.198:0] mod_fcgid: stderr: #17 /var/www/vhosts/madiaspa.it/httpdocs/wp-content/plugins/sitepress-multilingual-cms/inc/post-translation/wpml-post-translation.class.php(213): do_action(), referer: <em><u>link nascosto</u></em>
[Fri Jul 14 09:56:13.522834 2023] [fcgid:warn] [pid 1204489:tid 140082161903360] [client 151.18.116.198:0] mod_fcgid: stderr: #18 /var/www/vhosts/madiaspa.it/httpdocs/wp-content/plugins/sitepress-multilingual-cms/inc/post-translation/wpml-admin-post-actions.class.php(120): WPML_Post_Translation->after_save_post(), referer: <em><u>link nascosto</u></em>
[Fri Jul 14 09:56:13.522851 2023] [fcgid:warn] [pid 1204489:tid 140082161903360] [client 151.18.116.198:0] mod_fcgid: stderr: #19 /var/www/vhosts/madiaspa.it/httpdocs/wp-includes/class-wp-hook.php(310): WPML_Admin_Post_Actions->save_post_actions(), referer: <em><u>link nascosto</u></em>
[Fri Jul 14 09:56:13.522867 2023] [fcgid:warn] [pid 1204489:tid 140082161903360] [client 151.18.116.198:0] mod_fcgid: stderr: #20 /var/www/vhosts/madiaspa.it/httpdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(), referer: <em><u>link nascosto</u></em>
[Fri Jul 14 09:56:13.522884 2023] [fcgid:warn] [pid 1204489:tid 140082161903360] [client 151.18.116.198:0] mod_fcgid: stderr: #21 /var/www/vhosts/madiaspa.it/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action(), referer: <em><u>link nascosto</u></em>
[Fri Jul 14 09:56:13.522900 2023] [fcgid:warn] [pid 1204489:tid 140082161903360] [client 151.18.116.198:0] mod_fcgid: stderr: #22 /var/www/vhosts/madiaspa.it/httpdocs/wp-includes/post.php(4715): do_action(), referer: <em><u>link nascosto</u></em>
[Fri Jul 14 09:56:13.522916 2023] [fcgid:warn] [pid 1204489:tid 140082161903360] [client 151.18.116.198:0] mod_fcgid: stderr: #23 /var/www/vhosts/madiaspa.it/httpdocs/wp-includes/post.php(4817): wp_insert_post(), referer: <em><u>link nascosto</u></em>
[Fri Jul 14 09:56:13.522932 2023] [fcgid:warn] [pid 1204489:tid 140082161903360] [client 151.18.116.198:0] mod_fcgid: stderr: #24 /var/www/vhosts/madiaspa.it/httpdocs/wp-content/plugins/wp-all-import-pro/models/import/record.php(3023): wp_update_post(), referer: <em><u>link nascosto</u></em>
[Fri Jul 14 09:56:13.522948 2023] [fcgid:warn] [pid 1204489:tid 140082161903360] [client 151.18.116.198:0] mod_fcgid: stderr: #25 /var/www/vhosts/madiaspa.it/httpdocs/wp-content/plugins/wp-all-import-pro/controllers/admin/import.php(2757): PMXI_Import_Record->process(), referer: <em><u>link nascosto</u></em>
[Fri Jul 14 09:56:13.522964 2023] [fcgid:warn] [pid 1204489:tid 140082161903360] [client 151.18.116.198:0] mod_fcgid: stderr: #26 /var/www/vhosts/madiaspa.it/httpdocs/wp-content/plugins/wp-all-import-pro/wp-all-import-pro.php(761): PMXI_Admin_Import->process(), referer: <em><u>link nascosto</u></em>
[Fri Jul 14 09:56:13.522980 2023] [fcgid:warn] [pid 1204489:tid 140082161903360] [client 151.18.116.198:0] mod_fcgid: stderr: #27 /var/www/vhosts/madiaspa.it/httpdocs/wp-includes/class-wp-hook.php(308): PMXI_Plugin->adminInit(), referer: <em><u>link nascosto</u></em>
[Fri Jul 14 09:56:13.522996 2023] [fcgid:warn] [pid 1204489:tid 140082161903360] [client 151.18.116.198:0] mod_fcgid: stderr: #28 /var/www/vhosts/madiaspa.it/httpdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(), referer: <em><u>link nascosto</u></em>
[Fri Jul 14 09:56:13.523012 2023] [fcgid:warn] [pid 1204489:tid 140082161903360] [client 151.18.116.198:0] mod_fcgid: stderr: #29 /var/www/vhosts/madiaspa.it/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action(), referer: <em><u>link nascosto</u></em>
[Fri Jul 14 09:56:13.523028 2023] [fcgid:warn] [pid 1204489:tid 140082161903360] [client 151.18.116.198:0] mod_fcgid: stderr: #30 /var/www/vhosts/madiaspa.it/httpdocs/wp-admin/admin.php(175): do_action(), referer: <em><u>link nascosto</u></em>
[Fri Jul 14 09:56:13.523044 2023] [fcgid:warn] [pid 1204489:tid 140082161903360] [client 151.18.116.198:0] mod_fcgid: stderr: #31 {main}, referer: <em><u>link nascosto</u></em>
[Fri Jul 14 09:56:13.523060 2023] [fcgid:warn] [pid 1204489:tid 140082161903360] [client 151.18.116.198:0] mod_fcgid: stderr:   thrown in /var/www/vhosts/madiaspa.it/httpdocs/wp-content/plugins/sitepress-multilingual-cms/classes/records/class-wpml-tm-icl-translation-status.php on line 36, referer: <em><u>link nascosto</u></em>

Luglio 14, 2023 a 8:07 am #14038031

Paola Mendiburu
Supporter

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

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

Ci sarebbe qualche opzione per ripetere la migrazione poiché si vede che era incompleta ed è per questo che dà così tanti errori?

Luglio 17, 2023 a 9:18 am #14047667

antonio

Ciao Paolo, abbiamo provveduto a reimportare files e database.
Ho poi effettuato l'update di wordpress e plugin all'ultima versione.
E ho quindi effettuato un database repair.
L'errore però persiste.

In root trovi il dump originale del database (non aggiornato all'ultimo wp):
/httpdocs/mysql371.madiaspagb1.2023-07-14-14h03.gz

Fammi sapere grazie.

Luglio 17, 2023 a 2:06 pm #14050321

Paola Mendiburu
Supporter

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

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

Potresti dirmi quali versioni di WordPress e WPML avevi prima?

Luglio 17, 2023 a 2:40 pm #14050643

antonio

Wordpress 6.1.1 e Wpml 4.2.0

Luglio 17, 2023 a 2:50 pm #14050759

Paola Mendiburu
Supporter

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

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

Ok, è stato aggiornato da una versione molto vecchia ed è per questo che questi problemi.

Puoi ripristinare la versione in cui ho corretto la maggior parte dei bug in modo da poter continuare a correggerli.

Fammi sapere quando lo hai fatto e copia e il fatal error che appare.