Home › Forum › Problemi Vari con WP › Syntax error
-
AutorePost
-
-
24 Giugno 2016 alle 10:43 #30928besalidaPartecipante
Salve,
ho un problema con il mio sito wordpress, stavo scaricando alcuni temi quando cercando di vedere l’anteprima in tempo reale di uno di questi il sito si è bloccato.
al momento la frase che appare quando cerco di entrarci è la seguente: Parse error: syntax error, unexpected ‘)’, expecting ‘,’ or ‘;’ in /web/htdocs/www.besalida.it/home/wp-content/themes/madhat/framework/widgets/recent-posts.php on line 60
Il tema che stavo cercando di aprire era Mad Hat, ma su questo io non avevo fatto alcuna modifica, anzi lo avevo appena scaricato e volevo solo vederne l’anteprima.
Ora non riesco più ad entrare all’interno dell’area admin di wordpress ma solo in quella di aruba, tramite cui ho comprato il dominio.
come posso risolvere questo problema?
-
24 Giugno 2016 alle 11:14 #120629TittiModeratore
Semplice, ti colleghi via FTP (o da pannello di controllo di Aruba) e cancelli il tema.
Non installare temi o plugin dal primo posto che trovi. Scaricali dalla directory dei temi di WordPress, o da siti affidabili.
-
24 Giugno 2016 alle 11:18 #120630besalidaPartecipante
Il tema che ho scaricato l’ho trovato dentro la directory di wordpress.
Dal pannello di controllo di aruba come faccio a cancellare il tema?
-
24 Giugno 2016 alle 12:26 #120632TittiModeratore
OK, la prox volta metti subito il link al tema, come richiesto nel box. Allora se vuoi correggere l’errore apri via FTP il file /wp-content/themes/madhat/framework/widgets/recent-posts.php con notepad++ e alla riga 60 cancella la terza parentesi chiusa di troppo.
Poi fallo presente all’autore nel forum di supporto citando l’errore, affinché lo corregga nella versione originale.
P.S.: Per Aruba devi chiedere a loro come caricare/cancellare i file sul server, cioè se lo puoi fare da plesk.
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.