Salve a tutti,
volevo sottopporvi l’ennesimo quesito.
Sto sviluppando un blog in locale, ho installato il plugin wp-Email 2.40, ho modificato i file del tema dove volevo che comparisse l’icona per mandare l’email:
in corrispondenza di
‘<?php while (have_posts()) : the_post(); ?>’
ho aggiunto
‘<?php if(function_exists(‘wp_email’)) { email_link(); } ?>’
ovviamente alla fine del ciclo while
ho attivato il plugin.
dove mi aspetto che compaia l’icona dell’invio, compare… ma quando ci clicco sopra e compilo il form, mi appaiono degli errori del tipo:
Warning: htmlspecialchars_decode() expects parameter 1 to be string, NULL given in C….
siccome l’errore riguarda il passaggio di parametri in una funzione del core di wordpress… che cosa ho sbagliato nel settaggio? per l’invio dell’email ho un’altro plugin SMTP…