Hello,
Thank you for your work on this plugin. I am encountering a critical issue when using the plugin on an OJS 3.4 installation.
Even though I strictly downloaded and installed the v1.4.0-3.4 specific build from the release assets, the system throws a 500 Fatal Error whenever a reviewer tries to access the system via the "One-click Reviewer Access" secure link in their email.
Error Logs:
The server error log and UI output explicitly point to a class redeclaration conflict caused by the backward compatibility script:
Warning: Cannot declare class APP\template\TemplateManager, because the name is already in use in /var/www/ojs/plugins/generic/reviewerCertificate/compat_autoloader.php on line 64
Fatal error: Uncaught Error: Call to a member function getAuthorizedContextObject() on null in /var/www/ojs/lib/pkp/classes/handler/PKPHandler.php:190 ...
Troubleshooting Steps Taken:
Verified that the v1.4.0-3.4 package was used (not the source code or the 3.3 build).
Attempted to manually wrap the class_alias in compat_autoloader.php with a !class_exists check. This bypassed the warning, but the system still threw a 500 error further down the line.
Attempted to comment out require_once DIR . '/compat_autoloader.php'; in the main plugin file. This also resulted in a 500 error, suggesting deeper architectural dependencies on older OJS 3.3 paradigms within the 3.4 build.
Environment:
OJS Version: 3.4.x
Plugin Version: v1.4.0 (OJS 3.4 build)
It seems the OJS 3.4 build package might still be loading OJS 3.3 compatibility logic, which conflicts with OJS 3.4's native Composer autoloader and routing/authorization mechanisms.
I have attached screenshots of the stack trace for your reference. Could you please look into this compatibility issue?
Thank you!

Hello,
Thank you for your work on this plugin. I am encountering a critical issue when using the plugin on an OJS 3.4 installation.
Even though I strictly downloaded and installed the v1.4.0-3.4 specific build from the release assets, the system throws a 500 Fatal Error whenever a reviewer tries to access the system via the "One-click Reviewer Access" secure link in their email.
Error Logs:
The server error log and UI output explicitly point to a class redeclaration conflict caused by the backward compatibility script:
Warning: Cannot declare class APP\template\TemplateManager, because the name is already in use in /var/www/ojs/plugins/generic/reviewerCertificate/compat_autoloader.php on line 64
Fatal error: Uncaught Error: Call to a member function getAuthorizedContextObject() on null in /var/www/ojs/lib/pkp/classes/handler/PKPHandler.php:190 ...
Troubleshooting Steps Taken:
Verified that the v1.4.0-3.4 package was used (not the source code or the 3.3 build).
Attempted to manually wrap the class_alias in compat_autoloader.php with a !class_exists check. This bypassed the warning, but the system still threw a 500 error further down the line.
Attempted to comment out require_once DIR . '/compat_autoloader.php'; in the main plugin file. This also resulted in a 500 error, suggesting deeper architectural dependencies on older OJS 3.3 paradigms within the 3.4 build.
Environment:
OJS Version: 3.4.x
Plugin Version: v1.4.0 (OJS 3.4 build)
It seems the OJS 3.4 build package might still be loading OJS 3.3 compatibility logic, which conflicts with OJS 3.4's native Composer autoloader and routing/authorization mechanisms.
I have attached screenshots of the stack trace for your reference. Could you please look into this compatibility issue?
Thank you!