User account validation issue

HI rcgillis We have similar situation regarding user account validation. Log entry is exactly like posted in Contact tab in proflle empty - #8 by PaulS.

Validation mail is generated and send but link is cousing error 500 throwing fatal error in RegistrationHandler.inc.php on line 138 as mentioned above. Any progress on this one?

PHP 8.0.26

Hi @open2source,

I moved your post into a separate post from where you posted here: Contact tab in proflle empty - #16 by janiosarmento,

Can you also indicate your OJS version, please (in the future, please include this in your posts as it assists with those troubleshooting)? Also, perhaps if you could post any relevant PHP Error log messages here too, that would be helpful.

Best regards,

Roger
PKP Team

OJS 3.3.0.8

My error_log was exactly like it was in the previous thread

Our OJS version OJS 3.3.0.8

Link to error log: Contact tab in proflle empty - #8 by PaulS

PHP version is 8.0

Hi @rcgillis !

We also have a similar output from OJS 3.3.0.8 and PHP 8.0.26 (Apache) error log:

Fatal error: Uncaught Error: Non-static method AccessKeyManager::generateKeyHash() cannot be called statically in /var/www/domains/html/lib/pkp/pages/user/RegistrationHandler.inc.php:138 Stack trace: #0 /var/www/domains/html/lib/pkp/classes/core/PKPRouter.inc.php(395): RegistrationHandler->activateUser(Array, Object(Request)) #1 /var/www/domains/html/lib/pkp/classes/core/PKPPageRouter.inc.php(246): PKPRouter->_authorizeInitializeAndCallRequest(Array, Object(Request), Array, false) #2 /var/www/domains/html/lib/pkp/classes/core/Dispatcher.inc.php(144): PKPPageRouter->route(Object(Request)) #3 /var/www/domains/html/lib/pkp/classes/core/PKPApplication.inc.php(362): Dispatcher->dispatch(Object(Request)) #4 /var/www/domains/html/index.php(68): PKPApplication->execute() #5 {main} thrown in /var/www/domains/html/lib/pkp/pages/user/RegistrationHandler.inc.php on line 138


Also (or maybe it is a separate issue) our ststistics stopped processing due to error thrown in

/plugins/generic/usageStats/UsageStatsLoader.inc.php on line 777

1 Like

Yeah, we also encountered this error during statistics processing

php tools/runScheduledTasks.php plugins/generic/usageStats/scheduledTasksAutoStage.xml

PHP Fatal error: Uncaught Error: Non-static method Core::removeBaseUrl() cannot be called statically in plugins/generic/usageStats/UsageStatsLoader.inc.php:777

@open2source this might be even separate issue but what comes similar is this “non-static method” failure in PHP 8. @rcgillis @asmecher ? Any ideas?

Hi @Karol_Malinowski,

The “non-static method” error has already been fixed in later releases of OJS 3.3.0-x.

Regards,
Alec Smecher
Public Knowledge Project Team

2 Likes

Thanks! We are going to update!