This thread is resolved. Here is a description of the problem and solution.
Problema:
Il cliente ha riscontrato un problema con l'aggiornamento di WPML che ha causato il malfunzionamento del sito, con un errore specifico relativo alla funzione
str_contains()
.
Soluzione: Aggiorna la tua versione di PHP alla version 8.0
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
Tagged: Exception
This topic contains 5 replies, has 2 voices.
Last updated by Alejandro 1 year, 5 months ago.
Assisted by: Alejandro.
Author | Posts |
---|---|
December 13, 2023 at 4:33 pm #15057623 | |
robertaA |
Hi, you closed my previous ticket, but the problem is still present and from what I see I'm not the only one. I apologize for not being able to send the backup copy sooner as Bobby requested. How do I send you the backup now? Below I paste the information of the closed ticket. Hi, after updating theme and plugins WPML Multilingual CMS stopped working. On the WP dashboard appears the message: successful loading of one or more plugins failed. Error ditails Please, let me know how to solve this problem, thanks. Barbara Schermata 2023-11-27 alle 13.45.59.png Bobby Languages: Timezone: Hello, If possible, please try doing a manual update. To do a manual update please follow these steps: 1. Backup your database – see for example: http://wordpress.org/extend/plugins/wp-db-backup/ 2. Deactivate the existing WPML plugin and add-ons. 3. Delete the plugin files – this does not delete your translations. You will simply delete the plugin files from your "wp-content/plugins" folder NOT the database records. 4. Download the updated plugins from our servers and upload them to the plugin directory. 5. Activate the WPML plugin and add-ons. Let me know your results, please. NOVEMBER 28, 2023 AT 4:15 PM#14942049 robertaA NOVEMBER 29, 2023 AT 2:30 AM#14945585 Bobby Languages: Timezone: Thank you for updating me, I am sorry to hear that happened, not sure what could of possibly triggered this issue as updating WPML should be an issue free procedure. I would like to request temporary access (wp-admin and FTP) to your site to test the issue. **Before we proceed It is necessary to take FULL BACKUP of your database and your website. Providing us with access, you agree that a backup has been taken ** I often use the Duplicator plugin for this purpose: http://wordpress.org/plugins/duplicator/ NOTE: If access to the live site is not possible and the staging site does not exist please provide me with a duplicator package created with the duplicator plugin. Thank you, NOVEMBER 30, 2023 AT 10:11 AM#14960565 Thank you Best |
December 14, 2023 at 4:55 pm #15067169 | |
Alejandro WPML Supporter since 02/2018
Languages: English (English ) Spanish (Español ) Italian (Italiano ) Timezone: Europe/Rome (GMT+02:00) |
Ciao! Potresti per favore disinstallare WPML e i suoi add-on poi scaricare una versione nuova da https://wpml.org/account/downloads/ e caricala direttamente da Plugins > Aggiungi nuovo? Questo errore è successo perché mancava una funzione, ma a volte questo potrebbe succedere perché hai aggiornato prima WPML anziché i suoi add-on. Prima scarica WPML, attivalo, vedi se ti esce l'errore e poi prova ad installare gli add-on ad uno ad uno. Provaci e fammi sapere come va. ---------------- |
December 14, 2023 at 7:52 pm #15068455 | |
robertaA |
Ciao, ho già provato, ma non è la prima cosa che mi ha fatto fare Bobby? Ho chiesto la cortesia di riprendere da dove eravamo rimasti, Bobby voleva copia del sito evidentemente per testare la procedura più idonea da adottare nel caso specifico. |
December 15, 2023 at 8:58 am #15070385 | |
Alejandro WPML Supporter since 02/2018
Languages: English (English ) Spanish (Español ) Italian (Italiano ) Timezone: Europe/Rome (GMT+02:00) |
Avevo controllato quello che ti aveva chiesto bobby ed era una variazione di quello che ti ho chiesto io (disinstallare e cancellare gli add-on sono importanti in questo test). Per favore fallo, se è possibile con la debug.log attiva e poi inviami tutto il file debug.log Per attivarlo, puoi seguire questa guida: https://wpml.org/documentation/support/debugging-wpml/ Dopo di aver inserito nel tuo file wp-config.php il codice presente nel link di sopra, cerca di ricreare il problema e poi vai alla cartella "wp-content" della tua installazione WordPress. Ti chiedo questo perché sospetto che c'è qualche passaggio in più che ci manca per poterlo poi ricreare in un sito di staging. Una volta fatto questo, se il problema continua, oltre al debug.log inviami anche una copia del sito (tramite dropbox, wetransfer o qualunque sito simile che ti piaccia). usa un plugin quale wp all in one migration, e nel file da esportare escludi i file media e le revisioni altrimenti il file sarà troppo pesante e ci metterò di più per risponderti per via del tempo richiesto per fare un import successivamente. |
December 19, 2023 at 5:40 pm #15095673 | |
robertaA |
Ciao Alejandro, ho installato una copia di staging del sito e seguito alla lettera le tue istruzioni. L'aggiornamento funziona! Grazie mille. Buongiorno, MAGGIO 18, 2023 AT 11:21 AM#13671279 Laura Languages: Timezone: Salve, grazie per averci contattato. Con "tema e plugin" intendi l'aggiornamento di tutti i plugin o solo di quelli relativi al tema? Perché anche WPML deve essere aggiornato. Inoltre, perché String Translation non è installato? E' necessario sia per TheGem che per WPBakery Prova ad aggiornare prima WPML (magari passando prima alla versione 4.5.14 e poi alla 4.6.3) e poi il tema. Al momento se sul sito non si riscontrano problemi è impossibile capire cosa sia successo. Grazie Alejandro, attendo tue notizie Cordialmente Barbara New threads created by Alejandro and linked to this one are listed below: https://wpml.org/forums/topic/aggiornare-un-sito-con-una-versione-vecchia-di-wpml/ |
December 20, 2023 at 2:42 pm #15103679 | |
Alejandro WPML Supporter since 02/2018
Languages: English (English ) Spanish (Español ) Italian (Italiano ) Timezone: Europe/Rome (GMT+02:00) |
Sono contento che uno dei problemi sia risolto. separo il ticket per lavorare con questo nuovo aggiornamento perché ci sono delle domande che vorrei farti per poter capire meglio cosa si può fare 🙂 Ci vediamo nel prossimo ticket. |