One-click links not working

Since moving from Windows to Linux server the one-click reviewer links does not work (404 error). Either the old ones generated in windows or the new ones generated in linux.

This is the error from the log:
[Thu Jun 07 12:42:37.420266 2018] [php7:warn] [pid 4052] [client 130.236P Warning: Declaration of PKPUsageEventPlugin::getEnabled() should be cLazyLoadPlugin::getEnabled($contextId = NULL) in /var/www/html/lib/pkp/pusageEvent/PKPUsageEventPlugin.inc.php on line 386
[Thu Jun 07 12:42:37.443339 2018] [php7:notice] [pid 4052] [client 130.2ojs2: 404 Not Found

I have tested to extend the permissions in the cache and the plugins folders. I have also cleaned the cache. Nothing seems to work. Please help!

Update: I am using 3.1.1-1, latest upgraded from 3.1.0-1

Hi @eddoff,

What do the one-click links that are returning 404s look like? (Please obscure the domain name and the security hash in the link.)

Regards,
Alec Smecher
Public Knowledge Project Team

http://ojs.domain/index.php/testjournal/reviewer/submission?submissionId=123&reviewId=456&key=xxxxx

Hi @eddoff,

Can you check for that URL in the access log (as opposed to the error log where you’ve been looking) and ensure that the line containing the URL specifically mentions a 404 response? I wonder whether the 404 you’re seeing logged isn’t from another request.

Regards,
Alec Smecher
Public Knowledge Project Team

This is what I get:
From access_log:

xx.xx.xx.xx - - [10/Jun/2018:22:32:11 +0200] "GET /index.php/testjournal/reviewer/submission?submissionId=xxx&reviewId=xxx&key=xxxxxxxx HTTP/1.1" 404 22 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36"

Related to the same IP-address in error_log:

[Sun Jun 10 22:32:11.100489 2018] [php7:warn] [pid 10872] [client xx.xx.xx.xx:29242] PHP Warning:  Declaration of PKPUsageEventPlugin::getEnabled() should be compatible with LazyLoadPlugin::getEnabled($contextId = NULL) in /var/www/html/lib/pkp/plugins/generic/usageEvent/PKPUsageEventPlugin.inc.php on line 386
[Sun Jun 10 22:32:11.126197 2018] [php7:notice] [pid 10872] [client xx.xx.xx.xx:29242] ojs2: 404 Not Found

Edvin