PDA

View Full Version : Parse Error: newthread.php


wildblick
11-24-2010, 09:41 AM
Hi, I updated vb 3.6 to 3.8 and now I get an error.

If someone will start a new thread following error is shown on top:

Parse error: syntax error, unexpected T_ARRAY_CAST, expecting '(' in /www/htdocs/xxx/xxx/newthread.php(310) : eval()'d code(7) : eval()'d code on line 1

Please help me.

My newthread.php:

*edit* removed. Please read the forum rules about posting copyrighted code.

kh99
11-24-2010, 09:56 AM
The problem is in plugin code, in a plugin that uses hook location newthread_form_start. If you look in your plugin manager you may be able to figure out which one it is.

wildblick
11-24-2010, 10:08 AM
Thank you, the problem was following addon: PCyb - Prevent Newbies from Posting to Wrong Forum

I updated the addon and now thereĀ“s no error!

Thank you for help!