SMFHacks.com
SMF Gallery Pro => Support => Topic started by: Nite on October 10, 2006, 07:45:01 pm
-
8: Undefined index: view_num_guests
File: /home/.bloom/nite/forum.midessa.net/Themes/default/languages/Gallery.english.php (main sub template - eval?)
Line: 138
I'm seeing this in my error log.. how to correct?
-
Hmm can't recreate it.
Try changing in gallery.template.php on line 138
echo $txt['who_and'], $context['view_num_guests'], ' ', $context['view_num_guests'] == 1 ? $txt['guest'] : $txt['guests'], $txt['gallery_who_viewgallery'], '</span></td></tr>';
To
echo $txt['who_and'], @$context['view_num_guests'], ' ', @$context['view_num_guests'] == 1 ? $txt['guest'] : $txt['guests'], $txt['gallery_who_viewgallery'], '</span></td></tr>';