Riassumo così il codice che mi restituisce un Warning.
Codice PHP:
foreach ($_POST as $j =>$value)
{
   
$notmissing[$j] = htmlentities(stripslashes($value));

Risultato quando lo eseguo:
Warning: stripslashes() expects parameter 1 to be string, array given in /Users/ricman/Sites/..........

NON voglio togliere la visualizzazione degli errori... Vorrei solo capire come sistemare il codice per non ottenere tale warning.