PorteAperteSulWeb / pasw2015

Tema WordPress PASW2015 di "Porte Aperte sul Web". Bello, accessibile e innovativo
http://www.porteapertesulweb.it
GNU General Public License v3.0
14 stars 21 forks source link

Errore con l'aggiornamento a WP 5.3 #240

Closed ClementinoVisigalli closed 4 years ago

ClementinoVisigalli commented 4 years ago

Nella home page esce l'errore WPDI_Plugin_Installer_Skin::feedback($string) should be compatible with WP_Upgrader_Skin::feedback($string, ...$args) in /web/htdocs/www.liceonovello.edu.it/home/wp-content/themes/pasw2015/include/wp-dependency-installer.php on line 490 Qualcuno sa come evitarlo?

sepassa commented 4 years ago

Anche io ho riscontrato lo stesso problema e uso Pasw 2015 1.9 BETA (istallata per poter aggiornare il PHP. Invece il problema non si presenta su un sito con la versione 1.8.2 che però ha il problema del PHP che deve essere aggiornato ad una versione più recente.

ClementinoVisigalli commented 4 years ago

Ho sistemato commentando la riga 490 e le successive fino alla parentesi graffa

Il giorno sab 16 nov 2019 alle ore 16:09 sepassa notifications@github.com ha scritto:

Anche io ho riscontrato lo stesso problema e uso Pasw 2015 1.9 BETA (istallata per poter aggiornare il PHP. Invece il problema non si presenta su un sito con la versione 1.8.2 che però ha il problema del PHP che deve essere aggiornato ad una versione più recente.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/PorteAperteSulWeb/pasw2015/issues/240?email_source=notifications&email_token=ANYLUUJOHM5ZPKSSWXYV5NLQUAEMFA5CNFSM4JM446K2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEHTRQQ#issuecomment-554645698, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANYLUUJURVGFJK3434YQYVDQUAEMFANCNFSM4JM446KQ .

-- Non stampare questa e-mail. Questo documento è formato esclusivamente per il destinatario. Tutte le informazioni ivi contenute, compresi eventuali allegati, sono da ritenere esclusivamente confidenziali e riservate secondo i termini del vigente D.Lgs. 196/2003 in materia di privacy e del Regolamento europeo 679/2016 (GDPR)  e quindi ne è proibita l’utilizzazione ulteriore non autorizzata. Se avete ricevuto per errore questo messaggio, Vi preghiamo cortesemente di contattare immediatamente il mittente e cancellare la e-mail. Grazie.

Please don’t print this e-mail.

Confidentiality Notice – This e-mail message including any attachments is for the sole use of the intended recipient and may contain confidential and privileged information pursuant to Legislative Decree 196/2003 and the European General Data Protection Regulation 679/2016 (GDPR). Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.

maupao commented 4 years ago

altra soluzione è quella di modificare la riga 494 da public function feedback( $string ) {} a public function feedback( $string, ...args) {}

ClementinoVisigalli commented 4 years ago

Scusi, può specificare meglio?

Il giorno sab 16 nov 2019 alle ore 22:49 Paolo Mauri < notifications@github.com> ha scritto:

altra soluzione è quella di modificare la riga 494 da public function feedback( $string ) {} a public function feedback( $string, ...args) {}

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/PorteAperteSulWeb/pasw2015/issues/240?email_source=notifications&email_token=ANYLUUJRE27KMUYT3YYVDMDQUBTG7A5CNFSM4JM446K2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEH3KMI#issuecomment-554677553, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANYLUUKCHLGSCPESKDNKYNLQUBTG7ANCNFSM4JM446KQ .

-- Non stampare questa e-mail. Questo documento è formato esclusivamente per il destinatario. Tutte le informazioni ivi contenute, compresi eventuali allegati, sono da ritenere esclusivamente confidenziali e riservate secondo i termini del vigente D.Lgs. 196/2003 in materia di privacy e del Regolamento europeo 679/2016 (GDPR)  e quindi ne è proibita l’utilizzazione ulteriore non autorizzata. Se avete ricevuto per errore questo messaggio, Vi preghiamo cortesemente di contattare immediatamente il mittente e cancellare la e-mail. Grazie.

Please don’t print this e-mail.

Confidentiality Notice – This e-mail message including any attachments is for the sole use of the intended recipient and may contain confidential and privileged information pursuant to Legislative Decree 196/2003 and the European General Data Protection Regulation 679/2016 (GDPR). Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.

sepassa commented 4 years ago

Provando a fare come dice Paolo Mauri, il sito va in crash con errore sulla riga 494: "Parse error: syntax error, unexpected 'arg' (T_STRING), expecting variable (T_VARIABLE) in /home/licei/public_html/wp_manzoni/wp-content/themes/pasw2015/include/wp-dependency-installer.php on line 494". Non ho capito invece come fare ad argomentare ogni riga come dice ClementinoVisigalli. Se in quel modo hai risolto, puoi postare un esempio per favore. Grazie, Sergio Passaro

ClementinoVisigalli commented 4 years ago

Ecco: basta commentare dalla riga 490 alla 494:

/**

Il giorno dom 17 nov 2019 alle ore 13:58 sepassa notifications@github.com ha scritto:

Provando a fare come dice Paolo Mauri, il sito va in crash con errore sulla riga 494: "Parse error: syntax error, unexpected 'arg' (T_STRING), expecting variable (T_VARIABLE) in /home/licei/public_html/wp_manzoni/wp-content/themes/pasw2015/include/wp-dependency-installer.php on line 494". Non ho capito invece come fare ad argomentare ogni riga come dice ClementinoVisigalli. Se in quel modo hai risolto, puoi postare un esempio per favore. Grazie, Sergio Passaro

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/PorteAperteSulWeb/pasw2015/issues/240?email_source=notifications&email_token=ANYLUUNXKUJS3SDCPYTRH6LQUE5XVA5CNFSM4JM446K2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEILKJI#issuecomment-554743077, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANYLUUM6OXKIU3DD7FFKJLLQUE5XVANCNFSM4JM446KQ .

-- Non stampare questa e-mail. Questo documento è formato esclusivamente per il destinatario. Tutte le informazioni ivi contenute, compresi eventuali allegati, sono da ritenere esclusivamente confidenziali e riservate secondo i termini del vigente D.Lgs. 196/2003 in materia di privacy e del Regolamento europeo 679/2016 (GDPR)  e quindi ne è proibita l’utilizzazione ulteriore non autorizzata. Se avete ricevuto per errore questo messaggio, Vi preghiamo cortesemente di contattare immediatamente il mittente e cancellare la e-mail. Grazie.

Please don’t print this e-mail.

Confidentiality Notice – This e-mail message including any attachments is for the sole use of the intended recipient and may contain confidential and privileged information pursuant to Legislative Decree 196/2003 and the European General Data Protection Regulation 679/2016 (GDPR). Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.

ClementinoVisigalli commented 4 years ago

Anche senza commentare basta inserire ...$args:

/**

maupao commented 4 years ago

esatto, avevo dimenticato $ sorry...