Jump to content
Sign in to follow this  
pansen

PHP Parse error: syntax error, unexpected 'new' (T_NEW) in .../lib/pear/PEAR.php on line 569

Recommended Posts

Hi everyone,

I have a problem with revive adserver 4.1.4 running on php 7.1. Since the update of our server from php 5.6 to php 7.1 I get the following error:

PHP Parse error:  syntax error, unexpected 'new' (T_NEW) in .../lib/pear/PEAR.php on line 569

I think, it happens because of the changes about the usage of the „&“ operator in php 7.X. But I can‘t find any „=&“ in PEAR.php and have no idea where to look for.

Can anybody help me or has a hint?

Greetings

pansen

 

Share this post


Link to post
Share on other sites

Problem solved!

It's always good to look twice:
The error occurred in an old revive installation still stored on our server but not in use since 3 years.

Maybe some search engines have indexed the banners, so they can be accessed directly from search results...

After deleting the folder containing the old revive version, the error disappeared in the server error log.

Everything fine now.

Greetings
pansen

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  



×