Quote:
Originally Posted by Acido
After upgrade i got this error on profile.php?do=editguestbook:
Warning: Invalid argument supplied for foreach() in /includes/functions.php on line 1946
Is relative to htis code in functions.php:
PHP Code:
foreach($nav_array AS $nav_url => $nav_title) //this is my line 1946
{
$pagetitle = $nav_title;
$elementtype = iif(++$counter == $lastelement, 'lastelement', 'breadcrumb');
$show['breadcrumb'] = iif($elementtype == 'breadcrumb', true, false);
if (empty($nav_title))
{
continue;
}
Some new about the bug with avatarrs when it are stored as files?
|
You did something wrong, double check everything.
AVATAR FIX:
Find:
$avatarurl = "$vboptions[avatarurl]/avatar{".$split['1']."}_{$avatarinfo[avatarrevision]}.gif";
Replace with
$avatarurl = "$vboptions[avatarurl]/avatar".$split['1']."_$avatarinfo[avatarrevision].gif";
This fix is included in the latest v1.02 (after this post)