The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Why am I getting this error...
It's only on some sites and it's driving me nuts...
The error is: Parse error: parse error, expecting `']'' in /home/heroclan/public_html/forums/vchallenge.php(172) : eval()'d code on line 303 and here is the offending line in the template: <option value="12:00" $wartimeselected[12:00]>12:00</option> and the PHP code: PHP Code:
|
#2
|
|||
|
|||
My guess is it don't like the : in the array element name.
|
#4
|
|||
|
|||
I have no idea.
I tried the : in php Expert editor. The colon causes a syntax error. Lose the : in the element array names. |
#5
|
|||
|
|||
Quote:
|
#6
|
||||
|
||||
PHP Code:
If the extra double quotes don't work try single quotes. I think it's double quotes though on keys with variables in - miSt |
#7
|
|||
|
|||
Quote:
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|