Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Class "PKP\\db\\DAORegistry" not found (3.3.0.5 + OJS 3.3) #60

Closed
almereyda opened this issue Feb 6, 2025 · 1 comment
Closed

Class "PKP\\db\\DAORegistry" not found (3.3.0.5 + OJS 3.3) #60

almereyda opened this issue Feb 6, 2025 · 1 comment

Comments

@almereyda
Copy link

When installing the latest versions 3.3.0.5 and 3.3.0.4 after checking out a detached head at the tags with git switch -d 3.3.0.5, which includes support for the updated Crossref API, an error is thrown:

PHP Fatal error:  Uncaught Error: Class "PKP\\db\\DAORegistry" not found in /var/www/html/ojs/plugins/generic/funding/FundingPlugin.inc.php:59
Stack trace:
#0 /var/www/html/ojs/lib/pkp/classes/plugins/PluginRegistry.inc.php(69): FundingPlugin->register()
#1 /var/www/html/ojs/lib/pkp/classes/plugins/PluginRegistry.inc.php(142): PluginRegistry::register()
#2 /var/www/html/ojs/lib/pkp/classes/core/Dispatcher.inc.php(133): PluginRegistry::loadCategory()
#3 /var/www/html/ojs/lib/pkp/classes/core/PKPApplication.inc.php(362): Dispatcher->dispatch()
#4 /var/www/html/ojs/index.php(68): PKPApplication->execute()
#5 {main}
  thrown in /var/www/html/ojs/plugins/generic/funding/FundingPlugin.inc.php on line 59, referer: https://labs.tib.eu/ojs/index.php/index/admin/settings

An update of pkp-lib from pkp/pkp-lib@abb7a9c to 3_3_0-20 did not resolve the issue.

The behaviour is similar to what is described in Upgrade failed due to Most Read block plugin [OJS-3.3.0-14 to OJS-3.4.0-1] (HTTP ERROR 500) - Software Support - PKP Community Forum. The plugin had been deleted from the versions table, which reactivated the test instance from white screen of death.

The error appears in the logs when trying to open the routes index/admin/settings#plugins

Checking out stable-3_3_0 works.

This might be a duplicate of #57.

@almereyda
Copy link
Author

This was a side-effect from #57

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant