Error 500 when geting into REGISTER page

Hi,

We recently have been hacked, so we made a few changes to recover the OJS journal, after a few months we discovered that we were experiencing a few issues.

When we click on the button REGISTER, we recieved: Error 500, the same problem happend when we click on the link: see my profile.

We are using OJS 3.1.1.4.

I saw the log file error, and this is what we found:

[11-Dec-2019 22:29:29 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Smarty has a deprecated constructor in /home/revista/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty.class.php on line 64
[11-Dec-2019 22:29:29 UTC] 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/revista/public_html/lib/pkp/lib/adodb/adodb.inc.php on line 263
[11-Dec-2019 22:29:29 UTC] 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/revista/public_html/lib/pkp/lib/adodb/adodb.inc.php on line 359
[11-Dec-2019 22:29:29 UTC] 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/revista/public_html/lib/pkp/lib/adodb/adodb.inc.php on line 2921
[11-Dec-2019 22:29:29 UTC] 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/revista/public_html/lib/pkp/lib/adodb/adodb.inc.php on line 3939
[11-Dec-2019 22:29:29 UTC] PHP Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/revista/public_html/lib/pkp/lib/adodb/adodb.inc.php on line 1003
[11-Dec-2019 22:29:29 UTC] PHP Warning: Declaration of PKPUsageEventPlugin::getEnabled() should be compatible with LazyLoadPlugin::getEnabled($contextId = NULL) in /home/revista/public_html/lib/pkp/plugins/generic/usageEvent/PKPUsageEventPlugin.inc.php on line 24
[11-Dec-2019 22:29:30 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Smarty has a deprecated constructor in /home/revista/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty.class.php on line 64
[11-Dec-2019 22:29:30 UTC] 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/revista/public_html/lib/pkp/lib/adodb/adodb.inc.php on line 263
[11-Dec-2019 22:29:30 UTC] 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/revista/public_html/lib/pkp/lib/adodb/adodb.inc.php on line 359
[11-Dec-2019 22:29:30 UTC] 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/revista/public_html/lib/pkp/lib/adodb/adodb.inc.php on line 2921
[11-Dec-2019 22:29:30 UTC] 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/revista/public_html/lib/pkp/lib/adodb/adodb.inc.php on line 3939
[11-Dec-2019 22:29:30 UTC] PHP Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/revista/public_html/lib/pkp/lib/adodb/adodb.inc.php on line 1003
[11-Dec-2019 22:29:30 UTC] PHP Warning: Declaration of PKPUsageEventPlugin::getEnabled() should be compatible with LazyLoadPlugin::getEnabled($contextId = NULL) in /home/revista/public_html/lib/pkp/plugins/generic/usageEvent/PKPUsageEventPlugin.inc.php on line 386
[11-Dec-2019 22:29:30 UTC] PHP Warning: Declaration of AddThisPlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /home/revista/public_html/plugins/generic/addThis/AddThisPlugin.inc.php on line 175
[11-Dec-2019 22:29:30 UTC] PHP Warning: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/revista/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 134
[11-Dec-2019 22:29:30 UTC] PHP Warning: Declaration of CustomBlockPlugin::getEnabled() should be compatible with BlockPlugin::getEnabled($contextId = NULL) in /home/revista/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 134
[11-Dec-2019 22:29:30 UTC] PHP Deprecated: Non-static method Config::getContextBaseUrls() should not be called statically in /home/revista/public_html/lib/pkp/plugins/generic/usageEvent/PKPUsageEventPlugin.inc.php on line 199
[11-Dec-2019 22:29:30 UTC] PHP Warning: Declaration of SubmissionFileDAO::fromRow($row) should be compatible with PKPSubmissionFileDAO::fromRow($row, $fileImplementation) in /home/revista/public_html/classes/article/SubmissionFileDAO.inc.php on line 23

Any idea of what can i do to fix the register page?

Hi @dsaravia,

Look in your log for something containing the term “Fatal Error” – those are just warnings and shouldn’t cause a 500 error.

Do you know what the hack was caused by?

Regards,
Alec Smecher
Public Knowledge Project Team