Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 11809
Latest: Rheingauner
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 41640
Total Topics: 7280
Most Online Today: 92
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 33
Total: 33

Author Topic: Undefined index: view_num_guests  (Read 5752 times)

0 Members and 1 Guest are viewing this topic.

Offline Nite

  • Member
  • *
  • Posts: 45
    • View Profile
    • Texas Mall
Undefined index: view_num_guests
« 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?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15765
    • View Profile
Re: Undefined index: view_num_guests
« Reply #1 on: October 10, 2006, 08:03:25 pm »
Hmm can't recreate it.
Try changing in gallery.template.php on line 138
Code: [Select]
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
Code: [Select]
echo $txt['who_and'], @$context['view_num_guests'], ' ', @$context['view_num_guests'] == 1 ? $txt['guest'] : $txt['guests'], $txt['gallery_who_viewgallery'], '</span></td></tr>';
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

 

Related Topics

  Subject / Started by Replies Last post
3 Replies
3659 Views
Last post February 21, 2008, 11:33:24 am
by clive
1 Replies
3589 Views
Last post April 02, 2008, 07:58:22 pm
by SMFHacks
2 Replies
6808 Views
Last post May 09, 2008, 02:33:12 pm
by RoFus
3 Replies
3786 Views
Last post November 04, 2008, 08:33:05 pm
by SMFHacks
2 Replies
3483 Views
Last post June 03, 2014, 12:11:06 pm
by spikeweb

+- Recent Topics

Logo and Category? by tank_fv101
January 10, 2022, 08:03:11 am

Questions about SMF Gallery Pro Folders and Gallery URL by scso1502
January 05, 2022, 03:48:27 pm

$subcats_linktree by mickjav
January 05, 2022, 03:08:29 pm

New Photos Won't Upload - Gallery Pro 8.0 or 9.0b - Old Photos Still Visible by scso1502
January 05, 2022, 02:23:16 pm

Additional Recommendations for SMF Store by SMFHacks
January 03, 2022, 02:37:10 pm

Seasons Greetings by SMFHacks
December 24, 2021, 10:02:42 pm

Problems with the contact mod by SMFHacks
December 22, 2021, 09:16:24 am

Gallery Pro v8.0 and PHP 7.4 by SMFHacks
December 16, 2021, 01:34:03 pm

Thanks mod SMF 2.1 by Monocero
November 27, 2021, 01:13:01 pm

How to change the font on a photo in SMF Gallery Pro? by SMFHacks
November 18, 2021, 09:28:11 am

Powered by EzPortal