That's just a warning saying you didn't initialize a variable before using it. PHP generally has tons of those warnings due to lack of language rigor which leads to laziness causing such warnings. Your error settings may have been set to not show warnings before, and now it shows warnings, or maybe your PHP version got upgraded which increased the number of warnings generated on old style code.
Yeah I'd guess your PHP version was upgraded from 5.3 to 5.4. (PHP 5.3 is the longest-lived version even though newer versions have been available for years now.) You can try looking for the first instance of $index and inserting this into the line before:
I thought it was $var_type being hit before it got to one of the 3 definitions, but that doesn't make sense in context of the contents of the .tracker file. And I went ahead and defined it at the beginning of the function anyway, to no effect.
Sorry, what? Are we talking about the same warning/error? I am just going by the message Ruff posted. I checked the tracker file posted by novice in the beginning of the thread and that is not the line generating the error at all.
Anyway, according to that code the object not being initialized is probably $this. There are already lines initializing $var_type as a string.
That file isn't current, that was the first version of the tracker, the current one is in Mist's post #11 in the thread. And I thnk that's the line that's causing the error because that's line 284 which is the line the errors are pointing to.
There's obviously an issue parsing the .tracker file. I would check for extraneous whitespace in it, and encoding issues. And anything else that might differ from a "healthy" tracker file.
I used notepad to edit the tracker. I did insert a tab in both of the _port lines to get them to line up.
The error occurs twice ... could it be those 'new' tabs?
I have finally decided to put down some cash and register a website. It is www.ruffhi.com. Now I remain free to move the hosting options without having to change the name of the site.
(October 22nd, 2014, 10:52)Caledorn Wrote: And ruff is officially banned from playing in my games as a reward for ruining my big surprise by posting silly and correct theories in the PB18 tech thread.
Are there any other games tracked on the server right now? If those aren't giving errors then yes, it has to be something wrong with the tracker file for the game specifically.