Failed to upgrade from OJS 3.1.1.4 to 3.1.2.4

Please Support Me,

I’m using OJS version 3.1.1.4
I failed to upgrade ojs 3.1.1.4 to version ojs 3.1.2.4

this is from error log

[13-Mar-2023 10:20:57 Asia/Jakarta] PHP Warning:  Declaration of InstallHandler::validate($request) should be compatible with PKPHandler::validate($requiredContexts = NULL, $request = NULL) in /home/lhmeckje/staging-dev.umc.ac.id/lib/pkp/pages/install/InstallHandler.inc.php on line 120
[13-Mar-2023 10:20:57 Asia/Jakarta] PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; dbObject has a deprecated constructor in /home/lhmeckje/staging-dev.umc.ac.id/lib/pkp/lib/adodb/adodb-xmlschema.inc.php on line 106
[13-Mar-2023 10:20:57 Asia/Jakarta] PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; dbTable has a deprecated constructor in /home/lhmeckje/staging-dev.umc.ac.id/lib/pkp/lib/adodb/adodb-xmlschema.inc.php on line 205
[13-Mar-2023 10:20:57 Asia/Jakarta] PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; dbIndex has a deprecated constructor in /home/lhmeckje/staging-dev.umc.ac.id/lib/pkp/lib/adodb/adodb-xmlschema.inc.php on line 613
[13-Mar-2023 10:20:57 Asia/Jakarta] PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; dbData has a deprecated constructor in /home/lhmeckje/staging-dev.umc.ac.id/lib/pkp/lib/adodb/adodb-xmlschema.inc.php on line 774
[13-Mar-2023 10:20:57 Asia/Jakarta] PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; dbQuerySet has a deprecated constructor in /home/lhmeckje/staging-dev.umc.ac.id/lib/pkp/lib/adodb/adodb-xmlschema.inc.php on line 959
[13-Mar-2023 10:20:57 Asia/Jakarta] PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; adoSchema has a deprecated constructor in /home/lhmeckje/staging-dev.umc.ac.id/lib/pkp/lib/adodb/adodb-xmlschema.inc.php on line 1217
[13-Mar-2023 10:20:57 Asia/Jakarta] PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; ADODB_Cache_File has a deprecated constructor in /home/lhmeckje/staging-dev.umc.ac.id/lib/pkp/lib/adodb/adodb.inc.php on line 263
[13-Mar-2023 10:20:57 Asia/Jakarta] PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; ADOConnection has a deprecated constructor in /home/lhmeckje/staging-dev.umc.ac.id/lib/pkp/lib/adodb/adodb.inc.php on line 359
[13-Mar-2023 10:20:57 Asia/Jakarta] PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet has a deprecated constructor in /home/lhmeckje/staging-dev.umc.ac.id/lib/pkp/lib/adodb/adodb.inc.php on line 2921
[13-Mar-2023 10:20:57 Asia/Jakarta] PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet_array has a deprecated constructor in /home/lhmeckje/staging-dev.umc.ac.id/lib/pkp/lib/adodb/adodb.inc.php on line 3939
[13-Mar-2023 10:20:57 Asia/Jakarta] PHP Warning:  Declaration of InstallForm::execute() should be compatible with Form::execute(...$functionArgs) in /home/lhmeckje/staging-dev.umc.ac.id/lib/pkp/classes/install/form/InstallForm.inc.php on line 20
[13-Mar-2023 10:20:57 Asia/Jakarta] PHP Warning:  Declaration of UpgradeForm::execute() should be compatible with Form::execute(...$functionArgs) in /home/lhmeckje/staging-dev.umc.ac.id/lib/pkp/classes/install/form/UpgradeForm.inc.php on line 63
[13-Mar-2023 10:21:04 Asia/Jakarta] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /home/lhmeckje/staging-dev.umc.ac.id/cache/t_compile/e8ea13aa559bf8604ca823015b397a28d8666486^28682bb3d6b6e750ebd3d458abc8f92b4da9ea9f_0.app.headerusernav.tpl.php on line 136
[13-Mar-2023 10:21:07 Asia/Jakarta] PHP Warning:  Declaration of InstallHandler::validate($request) should be compatible with PKPHandler::validate($requiredContexts = NULL, $request = NULL) in /home/lhmeckje/staging-dev.umc.ac.id/lib/pkp/pages/install/InstallHandler.inc.php on line 120
[13-Mar-2023 10:21:07 Asia/Jakarta] PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; dbObject has a deprecated constructor in /home/lhmeckje/staging-dev.umc.ac.id/lib/pkp/lib/adodb/adodb-xmlschema.inc.php on line 106
[13-Mar-2023 10:21:07 Asia/Jakarta] PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; dbTable has a deprecated constructor in /home/lhmeckje/staging-dev.umc.ac.id/lib/pkp/lib/adodb/adodb-xmlschema.inc.php on line 205
[13-Mar-2023 10:21:07 Asia/Jakarta] PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; dbIndex has a deprecated constructor in /home/lhmeckje/staging-dev.umc.ac.id/lib/pkp/lib/adodb/adodb-xmlschema.inc.php on line 613
[13-Mar-2023 10:21:07 Asia/Jakarta] PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; dbData has a deprecated constructor in /home/lhmeckje/staging-dev.umc.ac.id/lib/pkp/lib/adodb/adodb-xmlschema.inc.php on line 774
[13-Mar-2023 10:21:07 Asia/Jakarta] PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; dbQuerySet has a deprecated constructor in /home/lhmeckje/staging-dev.umc.ac.id/lib/pkp/lib/adodb/adodb-xmlschema.inc.php on line 959
[13-Mar-2023 10:21:07 Asia/Jakarta] PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; adoSchema has a deprecated constructor in /home/lhmeckje/staging-dev.umc.ac.id/lib/pkp/lib/adodb/adodb-xmlschema.inc.php on line 1217
[13-Mar-2023 10:21:07 Asia/Jakarta] PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; ADODB_Cache_File has a deprecated constructor in /home/lhmeckje/staging-dev.umc.ac.id/lib/pkp/lib/adodb/adodb.inc.php on line 263
[13-Mar-2023 10:21:07 Asia/Jakarta] PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; ADOConnection has a deprecated constructor in /home/lhmeckje/staging-dev.umc.ac.id/lib/pkp/lib/adodb/adodb.inc.php on line 359
[13-Mar-2023 10:21:07 Asia/Jakarta] PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet has a deprecated constructor in /home/lhmeckje/staging-dev.umc.ac.id/lib/pkp/lib/adodb/adodb.inc.php on line 2921
[13-Mar-2023 10:21:07 Asia/Jakarta] PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet_array has a deprecated constructor in /home/lhmeckje/staging-dev.umc.ac.id/lib/pkp/lib/adodb/adodb.inc.php on line 3939
[13-Mar-2023 10:21:07 Asia/Jakarta] PHP Warning:  Declaration of InstallForm::execute() should be compatible with Form::execute(...$functionArgs) in /home/lhmeckje/staging-dev.umc.ac.id/lib/pkp/classes/install/form/InstallForm.inc.php on line 20
[13-Mar-2023 10:21:07 Asia/Jakarta] PHP Warning:  Declaration of UpgradeForm::execute() should be compatible with Form::execute(...$functionArgs) in /home/lhmeckje/staging-dev.umc.ac.id/lib/pkp/classes/install/form/UpgradeForm.inc.php on line 63
[13-Mar-2023 10:21:08 Asia/Jakarta] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /home/lhmeckje/staging-dev.umc.ac.id/cache/t_compile/e8ea13aa559bf8604ca823015b397a28d8666486^28682bb3d6b6e750ebd3d458abc8f92b4da9ea9f_0.app.headerusernav.tpl.php on line 136
[13-Mar-2023 10:21:11 Asia/Jakarta] PHP Warning:  Declaration of InstallHandler::validate($request) should be compatible with PKPHandler::validate($requiredContexts = NULL, $request = NULL) in /home/lhmeckje/staging-dev.umc.ac.id/lib/pkp/pages/install/InstallHandler.inc.php on line 120
[13-Mar-2023 10:21:11 Asia/Jakarta] PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; dbObject has a deprecated constructor in /home/lhmeckje/staging-dev.umc.ac.id/lib/pkp/lib/adodb/adodb-xmlschema.inc.php on line 106
[13-Mar-2023 10:21:11 Asia/Jakarta] PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; dbTable has a deprecated constructor in /home/lhmeckje/staging-dev.umc.ac.id/lib/pkp/lib/adodb/adodb-xmlschema.inc.php on line 205
[13-Mar-2023 10:21:11 Asia/Jakarta] PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; dbIndex has a deprecated constructor in /home/lhmeckje/staging-dev.umc.ac.id/lib/pkp/lib/adodb/adodb-xmlschema.inc.php on line 613
[13-Mar-2023 10:21:11 Asia/Jakarta] PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; dbData has a deprecated constructor in /home/lhmeckje/staging-dev.umc.ac.id/lib/pkp/lib/adodb/adodb-xmlschema.inc.php on line 774
[13-Mar-2023 10:21:11 Asia/Jakarta] PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; dbQuerySet has a deprecated constructor in /home/lhmeckje/staging-dev.umc.ac.id/lib/pkp/lib/adodb/adodb-xmlschema.inc.php on line 959
[13-Mar-2023 10:21:11 Asia/Jakarta] PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; adoSchema has a deprecated constructor in /home/lhmeckje/staging-dev.umc.ac.id/lib/pkp/lib/adodb/adodb-xmlschema.inc.php on line 1217
[13-Mar-2023 10:21:11 Asia/Jakarta] PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; ADODB_Cache_File has a deprecated constructor in /home/lhmeckje/staging-dev.umc.ac.id/lib/pkp/lib/adodb/adodb.inc.php on line 263
[13-Mar-2023 10:21:11 Asia/Jakarta] PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; ADOConnection has a deprecated constructor in /home/lhmeckje/staging-dev.umc.ac.id/lib/pkp/lib/adodb/adodb.inc.php on line 359
[13-Mar-2023 10:21:11 Asia/Jakarta] PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet has a deprecated constructor in /home/lhmeckje/staging-dev.umc.ac.id/lib/pkp/lib/adodb/adodb.inc.php on line 2921
[13-Mar-2023 10:21:11 Asia/Jakarta] PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet_array has a deprecated constructor in /home/lhmeckje/staging-dev.umc.ac.id/lib/pkp/lib/adodb/adodb.inc.php on line 3939
[13-Mar-2023 10:21:11 Asia/Jakarta] PHP Warning:  Declaration of InstallForm::execute() should be compatible with Form::execute(...$functionArgs) in /home/lhmeckje/staging-dev.umc.ac.id/lib/pkp/classes/install/form/InstallForm.inc.php on line 20
[13-Mar-2023 10:21:11 Asia/Jakarta] PHP Warning:  Declaration of UpgradeForm::execute() should be compatible with Form::execute(...$functionArgs) in /home/lhmeckje/staging-dev.umc.ac.id/lib/pkp/classes/install/form/UpgradeForm.inc.php on line 63
[13-Mar-2023 10:21:11 Asia/Jakarta] PHP Deprecated:  Non-static method PKPRequest::isPost() should not be called statically in /home/lhmeckje/staging-dev.umc.ac.id/lib/pkp/classes/form/validation/FormValidatorPost.inc.php on line 38
[13-Mar-2023 10:21:11 Asia/Jakarta] PHP Deprecated:  Non-static method PKPRequest::_checkThis() should not be called statically in /home/lhmeckje/staging-dev.umc.ac.id/lib/pkp/classes/core/PKPRequest.inc.php on line 398
[13-Mar-2023 10:21:11 Asia/Jakarta] PHP Deprecated:  The each() function is deprecated. This message will be suppressed on further calls in /home/lhmeckje/staging-dev.umc.ac.id/lib/pkp/lib/adodb/adodb.inc.php on line 1003
[13-Mar-2023 10:21:12 Asia/Jakarta] PHP Fatal error:  Uncaught Error: Call to a member function compare() on null in /home/lhmeckje/staging-dev.umc.ac.id/lib/pkp/classes/install/Installer.inc.php:315
Stack trace:
#0 /home/lhmeckje/staging-dev.umc.ac.id/lib/pkp/classes/install/Installer.inc.php(249): Installer->parseInstallNodes(Object(XMLNode))
#1 /home/lhmeckje/staging-dev.umc.ac.id/lib/pkp/classes/install/Installer.inc.php(182): Installer->parseInstaller()
#2 /home/lhmeckje/staging-dev.umc.ac.id/lib/pkp/classes/install/form/UpgradeForm.inc.php(40): Installer->execute()
#3 /home/lhmeckje/staging-dev.umc.ac.id/lib/pkp/pages/install/InstallHandler.inc.php(106): UpgradeForm->execute()
#4 /home/lhmeckje/staging-dev.umc.ac.id/lib/pkp/classes/core/PKPRouter.inc.php(390): InstallHandler->installUpgrade(Array, Object(Request))
#5 /home/lhmeckje/staging-dev.umc.ac.id/lib/pkp/classes/core/PKPPageRouter.inc.php(231): PKPRouter->_authorizeInitializeAndCallRequest(Array, Object(Request), Array, false)
#6 /home/lhmeckje/staging-dev.umc.ac.id/lib/pkp/classes/core/Dispatcher.i in /home/lhmeckje/staging-dev.umc.ac.id/lib/pkp/classes/install/Installer.inc.php on line 315

Many Thanks,

Hi @Imaduddin,

Is there a reason that you’re upgrading from 3.1.1-4 to 3.1.2-4. Version 3.1 of OJS is no longer supported - it would be better to upgrade to a later version, like 3.2, or 3.3 (which is our Long Term Support version).

-Roger
PKP Team