Jump to content

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?



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.


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...