Docskillz

The Good Stuff => SMF Arcade Support => Topic started by: Grammy on July 03, 2016, 07:34:29 AM

Title: New Arcade Errors.
Post by: Grammy on July 03, 2016, 07:34:29 AM
I thought my forum was all set to launch today.  I've played all over that arcade and had it working smoothly.  Then I had a friend of mine join as a regular member and he's managed, in the blink of an eye, to rack up all sorts of errors.   :(

It's SMF 2.0.11, default and the latest arcade RC3, downloaded from here.

The errors are all found in the ArcadeProfile.Template.php

Error 1:

Invalid argument supplied for foreach()
Line 178:  foreach($context['arcade']['member_stats']['position3'] as $game)

Error 2:

Undefined index: position3
(Also line 178)

Error 3:

Invalid argument supplied for foreach()
Line 170:  foreach($context['arcade']['member_stats']['position2'] as $game)

Error 4:

Undefined index: position2
(Also line 170)

Error 5:

Invalid argument supplied for foreach()
Line 162:  foreach($context['arcade']['member_stats']['position1'] as $game)

Error 6:

Undefined index: position1
(Also line 162)

Error 7:

Undefined index: position3
Line 156:  ',$txt['arcade_3rd'],' [',$context['position3'],']

Error 8:

Undefined index: position2
Line 153:  ',$txt['arcade_2nd'],' [',$context['position2'],']

Error 9:

Undefined index: position1
Line 150:  ',$txt['arcade_1st'],' [',$context['position1'],']

I don't see any evidence that he's actually played any arcade games.  I believe he was just mucking about in his profile. 

We've already printed up the announcements to hand out today, announcing the forum, so we have to launch.  Can you guys help, please?
Title: Re: New Arcade Errors.
Post by: Skhilled on July 03, 2016, 08:46:12 AM
Have you added any new mods lately? Maybe they have modified one of the profile files.

PM me your site and a temp admin account so I can see...
Title: Re: New Arcade Errors.
Post by: Grammy on July 03, 2016, 08:55:29 AM
Hi, Skhilled!

It turns out, it's that Breeze mod.  That thing is affecting everything!   :(

I'm gonna dump it; I never figured out how to use it, anyway.   :happy:
Title: Re: New Arcade Errors.
Post by: Skhilled on July 03, 2016, 01:31:48 PM
Ah! I thought it had to be another mod conflicting with it. Glad you've got it sorted. ;D

...and good luck with the opening!  O0