The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
in_array() Turning Up Parse Error
I've had these plugins for years, something Lynne showed me a long while back. I'm not sure when they started turning up this parse error on the affected forum, but now the comma is an unexpected ',' and I'm not quite seeing why:
PHP Code:
|
#2
|
||||
|
||||
What version of PHP are you running?
|
#3
|
||||
|
||||
5.3.29.
|
#4
|
||||
|
||||
Just for kicks, try this.
Code:
if($this->thread['firstpostid'] == $this->post['postid'] AND in_array($this->thread['forumid'], array(645, 646, 682, 683, 684, 684, 685, 686, 688))) Code:
global $vbulletin; |
#5
|
||||
|
||||
Same error on the same line. Also didn't change the postbit. Confuzzled.
|
#6
|
||||
|
||||
And when you disable the plugin, the error goes away.
|
Благодарность от: | ||
Digital Jedi |
#7
|
||||
|
||||
Geez, it's a completely different plugin. One I started earlier today and didn't finish. Remind me to just stop working on vBulletin at 6 AM.
|
#8
|
||||
|
||||
LOL, it's cool brother, it happens to all of us.
|
#9
|
||||
|
||||
LOL
|
Благодарность от: | ||
Digital Jedi |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|