Error updating database from OJS to 3.0.0

When I run the command ‘php tools/upgrade.php upgrade’ I get an error as follows

‘PHP Fatal Error: Cannot unset $this in /var/www/lib/pkp/lib/adodb/ on line 160’

Is there a fix for this?

Using PHP 7.1

Hi @Terence,

OJS 3.0.0 is pretty old – I would suggest upgrading to a newer version. This issue has definitely been fixed in more recent releases.

Alec Smecher
Public Knowledge Project Team