Risposte nei forum create
-
AutorePost
-
marcocarlozzoPartecipante
L’errore non sono i notice, che sono appunto solo segnalazioni hai qualche cosa che usa i livelli utente (1,2 ,3…) invece che le capacità vere ma non è la fonte dell’errore 500 sono i fatal error da guardare:
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 78 bytes) in /www/MW_qXInaIXaq/fratellicastiglioni.it/wp-includes/class-wp-post.php on line 241
Ti finisce la memoria, per quale motivo non è banale scoprirlo (usi oltre 134 Mbyte di memoria. La soluzione è sempre e solo una, mettere un tema standard es( twentysixteen, disattivare TUTTI i plugin, poi una passo alla volta riattivare il tema che usi, verificare che tutto sia ok, navigando un po’ fra le pagine, riattivare un solo plugin, ripetere le prove di tutto ok, riattivare un altro plugin etc etc.. sino a capire se e dove sia il problema.
si esatto, per gestire il menù della dashboard da parte del cliente, per far visualizzare solo le voci necessarie o modifica altre funzionalità (es. nomi etichette plug-in, menù estesi) utilizzo “members” per i permessi e per modificare i menù dashboard admin menù editor…se avreste qualche consiglio su come fare per eliminare tali plug-in volentieri. mentre per quanto riguarda la memoria occupata non saprei proprio (il disco dello spazio web è quasi vuoto e ho installato un plug-in per usare al meglio la cache “WP super cache”). Appena ho del tempo proverò a fare come mi hai suggerito tu di impostare un tema standard e disattivare i plug-in ecc…
Per ora grazie.
marcocarlozzoPartecipanteSalve a tutti,
ho fatto fare un test della stabilità del server al provider hosting e mi hanno riferito che è tutto ok.
A quel punto ho fatto un ripristino con un tool di backup e sembra che l’errore fosse risolto.
dopo qualche giorno di nuovo lo stesso errore.
Ora ho attivato i log wordpress e il nel file a scritto :
[10-Sep-2017 12:34:13 UTC] PHP Notice: has_cap àƒÂ¨ stato chiamato con un argomento deprecato dalla versione 2.0.0! L’utilizzo dei livelli utenti da temi e plugin àƒÂ¨ deprecato. Utilizzare invece ruoli e capacitàƒ .. in /www/MW_qXInaIXaq/fratellicastiglioni.it/wp-includes/functions.php on line 4023
[10-Sep-2017 12:34:23 UTC] PHP Notice: has_cap àƒÂ¨ stato chiamato con un argomento deprecato dalla versione 2.0.0! L’utilizzo dei livelli utenti da temi e plugin àƒÂ¨ deprecato. Utilizzare invece ruoli e capacitàƒ .. in /www/MW_qXInaIXaq/fratellicastiglioni.it/wp-includes/functions.php on line 4023
[10-Sep-2017 12:34:33 UTC] PHP Notice: has_cap àƒÂ¨ stato chiamato con un argomento deprecato dalla versione 2.0.0! L’utilizzo dei livelli utenti da temi e plugin àƒÂ¨ deprecato. Utilizzare invece ruoli e capacitàƒ .. in /www/MW_qXInaIXaq/fratellicastiglioni.it/wp-includes/functions.php on line 4023
[10-Sep-2017 12:35:47 UTC] PHP Notice: has_cap àƒÂ¨ stato chiamato con un argomento deprecato dalla versione 2.0.0! L’utilizzo dei livelli utenti da temi e plugin àƒÂ¨ deprecato. Utilizzare invece ruoli e capacitàƒ .. in /www/MW_qXInaIXaq/fratellicastiglioni.it/wp-includes/functions.php on line 4023
[10-Sep-2017 12:36:29 UTC] PHP Notice: has_cap àƒÂ¨ stato chiamato con un argomento deprecato dalla versione 2.0.0! L’utilizzo dei livelli utenti da temi e plugin àƒÂ¨ deprecato. Utilizzare invece ruoli e capacitàƒ .. in /www/MW_qXInaIXaq/fratellicastiglioni.it/wp-includes/functions.php on line 4023
[10-Sep-2017 12:36:38 UTC] PHP Notice: has_cap àƒÂ¨ stato chiamato con un argomento deprecato dalla versione 2.0.0! L’utilizzo dei livelli utenti da temi e plugin àƒÂ¨ deprecato. Utilizzare invece ruoli e capacitàƒ .. in /www/MW_qXInaIXaq/fratellicastiglioni.it/wp-includes/functions.php on line 4023
[10-Sep-2017 12:36:40 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 34932 bytes) in /www/MW_qXInaIXaq/fratellicastiglioni.it/wp-includes/wp-db.php on line 1846
[10-Sep-2017 13:04:19 UTC] PHP Notice: has_cap àƒÂ¨ stato chiamato con un argomento deprecato dalla versione 2.0.0! L’utilizzo dei livelli utenti da temi e plugin àƒÂ¨ deprecato. Utilizzare invece ruoli e capacitàƒ .. in /www/MW_qXInaIXaq/fratellicastiglioni.it/wp-includes/functions.php on line 4023
[10-Sep-2017 13:04:27 UTC] PHP Notice: has_cap àƒÂ¨ stato chiamato con un argomento deprecato dalla versione 2.0.0! L’utilizzo dei livelli utenti da temi e plugin àƒÂ¨ deprecato. Utilizzare invece ruoli e capacitàƒ .. in /www/MW_qXInaIXaq/fratellicastiglioni.it/wp-includes/functions.php on line 4023
[10-Sep-2017 13:04:29 UTC] PHP Notice: has_cap àƒÂ¨ stato chiamato con un argomento deprecato dalla versione 2.0.0! L’utilizzo dei livelli utenti da temi e plugin àƒÂ¨ deprecato. Utilizzare invece ruoli e capacitàƒ .. in /www/MW_qXInaIXaq/fratellicastiglioni.it/wp-includes/functions.php on line 4023
[10-Sep-2017 13:04:38 UTC] PHP Notice: has_cap àƒÂ¨ stato chiamato con un argomento deprecato dalla versione 2.0.0! L’utilizzo dei livelli utenti da temi e plugin àƒÂ¨ deprecato. Utilizzare invece ruoli e capacitàƒ .. in /www/MW_qXInaIXaq/fratellicastiglioni.it/wp-includes/functions.php on line 4023
[10-Sep-2017 13:04:51 UTC] PHP Notice: has_cap àƒÂ¨ stato chiamato con un argomento deprecato dalla versione 2.0.0! L’utilizzo dei livelli utenti da temi e plugin àƒÂ¨ deprecato. Utilizzare invece ruoli e capacitàƒ .. in /www/MW_qXInaIXaq/fratellicastiglioni.it/wp-includes/functions.php on line 4023
[10-Sep-2017 13:04:57 UTC] PHP Notice: has_cap àƒÂ¨ stato chiamato con un argomento deprecato dalla versione 2.0.0! L’utilizzo dei livelli utenti da temi e plugin àƒÂ¨ deprecato. Utilizzare invece ruoli e capacitàƒ .. in /www/MW_qXInaIXaq/fratellicastiglioni.it/wp-includes/functions.php on line 4023
[10-Sep-2017 13:05:13 UTC] PHP Notice: has_cap àƒÂ¨ stato chiamato con un argomento deprecato dalla versione 2.0.0! L’utilizzo dei livelli utenti da temi e plugin àƒÂ¨ deprecato. Utilizzare invece ruoli e capacitàƒ .. in /www/MW_qXInaIXaq/fratellicastiglioni.it/wp-includes/functions.php on line 4023
[10-Sep-2017 13:05:25 UTC] PHP Notice: has_cap àƒÂ¨ stato chiamato con un argomento deprecato dalla versione 2.0.0! L’utilizzo dei livelli utenti da temi e plugin àƒÂ¨ deprecato. Utilizzare invece ruoli e capacitàƒ .. in /www/MW_qXInaIXaq/fratellicastiglioni.it/wp-includes/functions.php on line 4023
[10-Sep-2017 13:06:15 UTC] PHP Notice: has_cap àƒÂ¨ stato chiamato con un argomento deprecato dalla versione 2.0.0! L’utilizzo dei livelli utenti da temi e plugin àƒÂ¨ deprecato. Utilizzare invece ruoli e capacitàƒ .. in /www/MW_qXInaIXaq/fratellicastiglioni.it/wp-includes/functions.php on line 4023
[10-Sep-2017 13:06:27 UTC] PHP Notice: has_cap àƒÂ¨ stato chiamato con un argomento deprecato dalla versione 2.0.0! L’utilizzo dei livelli utenti da temi e plugin àƒÂ¨ deprecato. Utilizzare invece ruoli e capacitàƒ .. in /www/MW_qXInaIXaq/fratellicastiglioni.it/wp-includes/functions.php on line 4023
[10-Sep-2017 13:08:00 UTC] PHP Notice: Undefined property: EasyColumns::$use_custom in /www/MW_qXInaIXaq/fratellicastiglioni.it/wp-content/plugins/easy-columns/easy-columns.php on line 233
[10-Sep-2017 13:09:35 UTC] PHP Notice: has_cap àƒÂ¨ stato chiamato con un argomento deprecato dalla versione 2.0.0! L’utilizzo dei livelli utenti da temi e plugin àƒÂ¨ deprecato. Utilizzare invece ruoli e capacitàƒ .. in /www/MW_qXInaIXaq/fratellicastiglioni.it/wp-includes/functions.php on line 4023
[10-Sep-2017 13:09:42 UTC] PHP Notice: has_cap àƒÂ¨ stato chiamato con un argomento deprecato dalla versione 2.0.0! L’utilizzo dei livelli utenti da temi e plugin àƒÂ¨ deprecato. Utilizzare invece ruoli e capacitàƒ .. in /www/MW_qXInaIXaq/fratellicastiglioni.it/wp-includes/functions.php on line 4023
[10-Sep-2017 13:09:57 UTC] PHP Notice: has_cap àƒÂ¨ stato chiamato con un argomento deprecato dalla versione 2.0.0! L’utilizzo dei livelli utenti da temi e plugin àƒÂ¨ deprecato. Utilizzare invece ruoli e capacitàƒ .. in /www/MW_qXInaIXaq/fratellicastiglioni.it/wp-includes/functions.php on line 4023
[10-Sep-2017 13:09:59 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 78 bytes) in /www/MW_qXInaIXaq/fratellicastiglioni.it/wp-includes/class-wp-post.php on line 241
[10-Sep-2017 13:11:39 UTC] PHP Notice: has_cap àƒÂ¨ stato chiamato con un argomento deprecato dalla versione 2.0.0! L’utilizzo dei livelli utenti da temi e plugin àƒÂ¨ deprecato. Utilizzare invece ruoli e capacitàƒ .. in /www/MW_qXInaIXaq/fratellicastiglioni.it/wp-includes/functions.php on line 4023
[10-Sep-2017 13:11:45 UTC] PHP Notice: has_cap àƒÂ¨ stato chiamato con un argomento deprecato dalla versione 2.0.0! L’utilizzo dei livelli utenti da temi e plugin àƒÂ¨ deprecato. Utilizzare invece ruoli e capacitàƒ .. in /www/MW_qXInaIXaq/fratellicastiglioni.it/wp-includes/functions.php on line 4023
Inoltre WordPress è aggiornato all’ultima versione disponibile, come tutti i plug-in.
se provo a disattivare i plug-in, andare in Pagine o a metter il tema di default ricevo l’errore sopra citato di funzione deprecata.
Cosa potrei fare?
marcocarlozzoPartecipanteL’errore 500 è un errore generico che dice tutto e niente, ma è un errore del server e quindi devi indagare lଠguardando o chiedendo il log degli errori sul server al tuo provider, e in definitiva aprendo un ticket con il gestore dei tuoi servizi.
Grazie del consiglio, ho già provveduto ad aprire un ticket con il fornitore per vedere i log generati.
vi tengo aggiornati.
marcocarlozzoPartecipanteIo non faccio lavori in .NET per clienti perchè non lo conosco, se decidessi di studiarlo lo farei prima bene in maniera autonoma, magari affrontado si problemi reali ma non certo facendomi pagare per imparare. Che tutti debbano e possano inparare sta benissimo, farlo a spese dei proprio clienti lo trovo poco professionale, realizzerai un sito malfatto, poco ottimizzato, magari incompleto, se poi qualcun’atro ci metterà mano scoprirà le magagne, oltre al fatto che da uno sviluppatore mi aspetterei la capacità di apprendere rapidamente, leggere la documentazione del codex etc, fatto quello poi si inzia a sviluppare. Quello che chiedi è abbastanza banale, anche i grafici che lavorano con noi che non sono sviluppatori ma sviluppano temi per WP sanno gestire queste cose, da uno sviluppatore le infor che wolly ti ha dato dovrebbero essere più che sufficienti, ma suppongo che tu non abbia nemmeno provato ad implementare, hai letto un po’ hai trovato cose che dici di non capire e torni qua, insomma cerchi la pappa pronta.
RIpeto poco professionale nei confronti dei tuoi clienti (ma loro non lo sanno, ancora) e poco rispettoso di chi offre aiuto sul forum, se ho a che fare con un professionista le mie risposte saranno ovvviamente essenziali per indirizzare, non faccio certo io il lavoro per lui gratis.
Io innanzitutto mi scuso con te se ho messo in dubbio la tua professionalità , ti ringrazio per quello che mi hai scritto e spero che possa aiutarmi a crescere e a maturare, hai ragione, sarà anche poco professionale ma mi è stato chiesto di realizzarlo e il mio cliente è al corrente che sono fresco di scuola e non ho un’esperienza alle spalle da fare grandi cose, e ti assicuro che quello che sto cercando non è la pappa pronta ma come affrontare quella parte di codice con il quale non riesco a venirne a capo e non ho cercato qualcosa e poi chiesto a voi, ma ho fatto diverse prove ma non riesco proprio a capire dove sbaglio nel implementare quella parte di codice perciò mi sono rivolto a voi e non di certo per farlo risolvere a qualcuno di voi. Da come ho scritto mi pare di non aver mancato di rispetto a nessuno poi se questo credete che sia avvenuto allora mi scuso perché non era assolutamente mia intenzione, ma ho bisogno di un aiuto perché sono in difficoltà tutto qui.
marcocarlozzoPartecipanteSviluppi un sito professionale pe uan non piccola azienda e non sai leggere delle documentazione tecnica? Povero il tuo cliente..
apprezzo il tuo commento, anche se credo che non debba essere tu a farlo, dato che non sono un guru in WordPress, conosco(sono un perito informatico diplomato quest’anno) in modo basilare html,css e php ma non conosco ancora la logica che sta dietro questo cms. penso che chi apra delle discussioni su questo forum è per avere idee ma anche supporto da persone sicuramente esperte per questa piattaforma.
marcocarlozzoPartecipantesono un neofita di wordpress, sapresti darmi una mano, ad esempio nel mio caso cosa metto nella voce description e id del function.php
marcocarlozzoPartecipantehai provato ad aprire il link che dici di aver messo?
mi scuso ma mi aveva messo i puntini, comunque ho seguito questa:http://www.gianpaolofrancescotrotta.altervista.org/aggiungere-aree-widget-ad-un-tema-wordpress
marcocarlozzoPartecipantenon sapendo cosa hai fatto, che guide hai seguito, è impossibile sapere dove hai sbagliato.
ma scusa della guida che ho seguito ho messo il link, comunque cosa devo farti vedere per farti capire meglio?sorgenti?
-
AutorePost