Jest to kawałek pliku unicomm.php:
<?php function unicomm_get($data) { //var_dump($data); foreach ($data as $k => $md) { $ug=$unicomm_gdata[$k]; if ($ug['uc_find']) { foreach ($find as $k2=>$f) { $r=''; $r=$replace[$r]; if ($f) { } } } //echo '<tt>sprawdzam '.$data[$k].' przez '.$ug['uc_pattern'].' wynik '.preg_match('#^'.trim($ug['uc_pattern']).'$#i',$data[$k]).'</tt><br/>'; { $error = true; } } //die(); return $mydata; } ?>
Niestety podczas rejestracji wyskakuje błąd.
Kod
Warning: Invalid argument supplied for foreach() in /home/konto/aaa/public_html/forum/includes/unicomm.php on line 138
Warning: Cannot modify header information - headers already sent by (output started at /home/konto/aaa/public_html/forum/includes/unicomm.php:138) in /home/konto/aaa/public_html/forum/includes/page_header.php on line 332
Warning: Cannot modify header information - headers already sent by (output started at /home/konto/aaa/public_html/forum/includes/unicomm.php:138) in /home/konto/aaa/public_html/forum/includes/page_header.php on line 334
Warning: Cannot modify header information - headers already sent by (output started at /home/konto/aaa/public_html/forum/includes/unicomm.php:138) in /home/konto/aaa/public_html/forum/includes/page_header.php on line 335
Warning: Cannot modify header information - headers already sent by (output started at /home/konto/aaa/public_html/forum/includes/unicomm.php:138) in /home/konto/aaa/public_html/forum/includes/page_header.php on line 332
Warning: Cannot modify header information - headers already sent by (output started at /home/konto/aaa/public_html/forum/includes/unicomm.php:138) in /home/konto/aaa/public_html/forum/includes/page_header.php on line 334
Warning: Cannot modify header information - headers already sent by (output started at /home/konto/aaa/public_html/forum/includes/unicomm.php:138) in /home/konto/aaa/public_html/forum/includes/page_header.php on line 335
Ale błąd odziwo wyskakuje tylko przy rejestracji. Przy edytowaniu profilu już nie. Zaznaczam, że funkcja działa

W czym jest problem? bo ja już nie wiem

P.S. Wiem, że powinienem kierować się z takim pytaniem na polski support. Owszem kierowałem te pytanie, ale nikt mi nie pomógł. I zaznaczam jeszcze, że nie jestem autorem tego moda.

W czym jest problem? bo ja już nie wiem
