OJS 2.4.6.0 to OJS 3.2.1.1 upgrade error

Hi @suresh_patil,

As long as you’re getting the message:

PHP Parse error: syntax error, unexpected ‘?’,

…something older than PHP 7.1 is trying to run OJS. If you still get that message upon trying to upgrade, you’ll definitely need to resolve it. Unfortunately the details will be system specific so I can’t give any more guidance than that.

The other error I see is this one:

PHP Fatal error: require_once(): Failed opening required ‘/var/www/infoopen/lib/pkp/plugins/generic/usageStats/GeoLocationTool.inc.php’ (include_path=’.:/usr/share/php’) in /var/www/infoopen/lib/pkp/includes/functions.inc.php on line 25

To fix this, try applying this change to your code.

Regards,
Alec Smecher
Public Knowledge Project Team