The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
This makes no sense to me
How could some people be seeing a warning (Warning: Invalid argument supplied for foreach() in /home/eaforums/public_html/forums/misc.php on line 229
) on this page: http://www.eaforums.com/forums/misc.php?do=getfavsmilie and not other users? I have tested on two operating systems, numerous browsers and two separate computers but am not seeing the warning. Shouldn't a php warning apply to everyone? The line of code in question is: Code:
foreach ($nabn AS $favsmilie) $nabn and $favsmilie reversed. But, I fixed it and everything is running fine for me. The one user swears she cleared her cache. I could understand problems if they were reaching a different line of code, or javascript errors or display errors. But how are they selectively getting warnings on what seems to be a valid line of code? Amy |
#2
|
||||
|
||||
I'm guessing this is a modification where uses can have an organized collection of their favorite smilies? Are you storing the ids of these smilies in a list in your database and then exploding them? If users have no favorite smilies then it won't be an array. Just a thought based on what you have to show
|
#3
|
||||
|
||||
Quote:
Amy |
#4
|
||||
|
||||
You're welcome
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|