Home › Forum › Problemi Vari con WP › Problema con permalink
-
AutorePost
-
-
16 Novembre 2015 alle 14:20 #30309albros88Partecipante
Salve,
sto lavorando ad un sito in locale (con xampp).
Dopo aver (malauguratamente) provato un plugin (post duplication), in tutte le pagine del sito tranne la home compare l’errore:
Warning: preg_match() [function.preg-match]: Compilation failed: nothing to repeat at offset 1 in … … wp-includesclass-wp.php on line 207
Dopo aver eliminato il plugin, ho provato a disattivare tutti i plugin, attivare il tema wp di default, impostare i permalink a default. Cosଠfacendo, il problema non si presenta.
Riattivando il tema di partenza (anche senza riattivare i vari plugin), il problema non c’è se lascio i permalink in default, ma se tento di riportarli all’impostazione “postname”, si ricrea.
Qualche suggerimento?
Grazie fin da ora.
-
17 Novembre 2015 alle 10:35 #119234TittiModeratore
Cancella ogni tipo di cache. Disattiva di nuovo tutti i plugin e metti un tema della serie Twenty.
Cancella l’.htaccess via FTP (fanne prima una copia se l’hai personalizzato). Ripristina i permalink di default, salva e accertati che tutto funzioni e che WP abbia ricreato l’.htaccess di base.
Ripristina i permalink all’impostazione precedente, salva e accertati che tutto funzioni.
Solo a questo punto riattivi uno-ad-uno il tema e gli altri plugin, controllando ogni volta.
Prima controlla che sia il tema che i plugin installati siano tutti all’ultima versione aggiornata.
Il plugin che citi non esiste. Se vuoi che sia un’informazione utile devi mettere il link, come richiesto.
Se tutto ciò non servirà , scarica un nuovo pacchetto di WP e procedi come per un aggiornamento manuale.
-
17 Novembre 2015 alle 14:37 #119236albros88Partecipante
Buongiorno Titti,
grazie mille per l’aiuto prezioso, ho risolto seguendo le tue indicazioni.
Il plugin che aveva generato il problema è “Duplicate Post”: https://it.wordpress.org/plugins/duplicate-post/
Quando ho riattivato uno a uno i plugin, l’errore si è ripresentato appena riattivato un altro plugin, Events Manager: https://wordpress.org/plugins/events-manager/
Mi va bene lo stesso cosà¬, dato che il plugin Events Manager non mi servirà , quindi lo lascio disattivato.
Lo segnalo comunque per l’utilità comune.
Grazie ancora.
Alberto
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.