Hi, we also have this problem. We are an OJS instance running 3.4.0.7 and we have about 27 journals. The new DOI-menu works perfectly for everyone, except for one journal. There it is just eternally loading. We have the last version of the ORCiD-plugin, and we do not understand why the DOI-menu does not work for this one journal. In the console we can see this error (which does not show up for the other journals):
This is the message in the error log: “Got error 'PHP message: Exception: The ORCID plugin is enabled, but its settings are invalid. In order to fix, access the plugin settings and try to save the form”
The DOI-menu does not work when the ORCID-plugin is enabled nor when it is disabled. And it was not enabled for this journal originally.
No help on this? We still have this problem
Hi @JohannaS, thanks for providing these details. This seems to be a separate problem so I’ve moved it to its own thread. Could you share the version of the ORCID plugin that you’re using as well? Thanks.
Regards,
Erik
PKP Team
Hi,
We have version 1.3.4.8 of the ORCID plugin.
Thanks.
@ewhanson Any updates on this?
We have the same issue since update to 3.4.0.8. All settings form (journals using ORCID) were submitted.
I added some debug info by echoing some context - it seems something isnt right here? No client-ID, no secret? no ID? no anything?
error_log(new Exception('The ORCID plugin is enabled, but its settings are invalid. In order to fix, access the plugin settings and try to save the form. $this: '.print_r($this, true).' Secret: '.print_r($clientSecret, true).' CTX:'.print_r($contextId, true).' Validator: '.print_r($validator, true)));
=>
php tools/runScheduledTasks.php
Exception: The ORCID plugin is enabled, but its settings are invalid. In order to fix, access the plugin settings and try to save the form. $this: APP\plugins\generic\orcidProfile\OrcidProfilePlugin Object
(
[pluginPath] => plugins/generic/orcidProfile
[pluginCategory] => generic
[request] =>
[currentContextId:APP\plugins\generic\orcidProfile\OrcidProfilePlugin:private] =>
)
Secret: CTX:0 Validator: APP\plugins\generic\orcidProfile\classes\OrcidValidator Object
(
[plugin] => APP\plugins\generic\orcidProfile\OrcidProfilePlugin Object
(
[pluginPath] => plugins/generic/orcidProfile
[pluginCategory] => generic
[request] =>
[currentContextId:APP\plugins\generic\orcidProfile\OrcidProfilePlugin:private] =>
)
)
in /var/www/ojs/plugins/generic/orcidProfile/OrcidProfilePlugin.php:106
Stack trace:
#0 /var/www/ojs/lib/pkp/classes/plugins/PluginRegistry.php(76): APP\plugins\generic\orcidProfile\OrcidProfilePlugin->register()
#1 /var/www/ojs/lib/pkp/classes/plugins/PluginRegistry.php(121): PKP\plugins\PluginRegistry::register()
#2 [internal function]: PKP\plugins\PluginRegistry::PKP\plugins\{closure}()
#3 /var/www/ojs/lib/pkp/classes/plugins/PluginRegistry.php(121): array_walk_recursive()
#4 /var/www/ojs/lib/pkp/classes/cliTool/CommandLineTool.php(72): PKP\plugins\PluginRegistry::loadCategory()
#5 /var/www/ojs/lib/pkp/classes/cliTool/ScheduledTaskTool.php(45): PKP\cliTool\CommandLineTool->__construct()
#6 /var/www/ojs/tools/runScheduledTasks.php(23): PKP\cliTool\ScheduledTaskTool->__construct()
#7 {main}
Okay, I found something:
I searched where this plugin stores its setting and found thisin plugin_settings
:

This context (aka journal_id) isnt right. So I deleted this row - but the error still persists.
I tried deleteing the data storage cache - and voilá! Everything is fine now.
hi @Commifreak how do i delete the data storage cache?
is it the one like this picture?
Yes, exactly. This should be it