![]() |
error message PHP7
Hey,
i installed a plugin and got an error when i load the site: ParseError: syntax error, unexpected 'new' (T_NEW) in ..../includes/init.php(357) : eval()'d code on line 22 PHP Code:
PHP Code:
|
Edit the file/plugin and change:
=& new to = new |
There isn't such a code :(
|
init.php
edit, didnt mean to paste the 357 reference in the response. |
PHP Code:
PHP Code:
|
remove all instances of =& new
=& new to = new in any vbulletin files as you havent bothered to update your vbulletin. |
Nope, it doesnt help :(
|
what version of vb are you running?
|
Quote:
|
Plugin is vbet (vbulletin enterprise translator). Iam using vb 4.2.5.
|
Sure vbet is your problem? Other plugins all disabled for test?
|
Quote:
|
What version of PHP are you running? VB 4.2.5 will work with and up to PHP 7.1 (might limp along under PHP 7.2 with warnings turned off). Mods are completely hit and miss. Remember the majority were written when PHP 5.x was the norm. vBet is clearly the issue and you will need to work with a PHP developer (you do not need a Vbulletin developer) to look at your PHP log file and recode the lines that have issues. It really should not be too difficult...
|
All times are GMT. The time now is 08:50 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|