Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12356
Latest: how to logo design
New This Month: 7
New This Week: 1
New Today: 1
Stats
Total Posts: 40076
Total Topics: 7055
Most Online Today: 30
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 23
Total: 24

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

0 Members and 1 Guest are viewing this topic.

Offline Nite

  • Newbie
  • *
  • 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: 15040
    • 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
3426 Views
Last post February 21, 2008, 11:33:24 am
by clive
1 Replies
3373 Views
Last post April 02, 2008, 07:58:22 pm
by SMFHacks
2 Replies
6151 Views
Last post May 09, 2008, 02:33:12 pm
by RoFus
3 Replies
3366 Views
Last post November 04, 2008, 08:33:05 pm
by SMFHacks
2 Replies
3075 Views
Last post June 03, 2014, 12:11:06 pm
by spikeweb

+- Recent Topics

Cannot install Gallery Pro on SMF 2.1 RC2 by Hatshepsut
March 19, 2020, 12:55:00 am

Newbie questions by SMFHacks
March 08, 2020, 09:28:17 am

Update detect mobile mode PHP5 to PHP7 by Plus
March 05, 2020, 11:19:05 am

Just a hello by Plus
March 05, 2020, 11:05:56 am

Enotify Copyright Problem by SMFHacks
March 04, 2020, 09:21:09 pm

Cannot import by shawnb
March 02, 2020, 12:17:00 pm

Error message with latest SMF 2.1 Github build by Hatshepsut
March 01, 2020, 10:06:10 am

[Mod]Avatars Display Integration by SMFHacks
February 15, 2020, 07:30:47 pm

[Mod]BBC Message Boxes 1.0 by SMFHacks
February 15, 2020, 07:26:46 pm

[Mod]Stack Trace by live627 by SMFHacks
February 15, 2020, 07:21:33 pm

Powered by EzPortal