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 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,

PKP Team


My error_log was exactly like it was in the previous thread

Our OJS version OJS

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 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/ Stack trace: #0 /var/www/domains/html/lib/pkp/classes/core/ RegistrationHandler->activateUser(Array, Object(Request)) #1 /var/www/domains/html/lib/pkp/classes/core/ PKPRouter->_authorizeInitializeAndCallRequest(Array, Object(Request), Array, false) #2 /var/www/domains/html/lib/pkp/classes/core/ PKPPageRouter->route(Object(Request)) #3 /var/www/domains/html/lib/pkp/classes/core/ 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/ on line 138

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

/plugins/generic/usageStats/ 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/

@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.

Alec Smecher
Public Knowledge Project Team


Thanks! We are going to update!