Registration doesn't work after enabling ReCaptcha

thanks so much!
Regards.

Okay, so just quickly, I see that the plugin is not supposed to be enabled “site wide” since there is no site wide option in the versions.xml file that comes with it. If you can, can you check your database in the “versions” table and see if the plugin has a “1” in the column for the site wide option?

Cheers,

Versions table within my database shows the following ( I think you’re only asking me for the last row, but I prefer to send you everything):

mysql> select * from versions;
±------±------±---------±------±--------------------±--------±---------------------------±----------------- -----±----------------------------±----------±---------+
| major | minor | revision | build | date_installed | current | product_type | product | product_class_name | lazy_load | sitewide |
±------±------±---------±------±--------------------±--------±---------------------------±----------------- -----±----------------------------±----------±---------+
| 1 | 0 | 0 | 0 | 2019-09-12 19:06:48 | 1 | plugins.metadata | openurl10 | | 0 | 0 |
| 1 | 0 | 0 | 0 | 2019-09-12 19:06:48 | 1 | plugins.metadata | mods34 | | 0 | 0 |
| 1 | 0 | 0 | 0 | 2019-09-12 19:06:48 | 1 | plugins.metadata | dc11 | | 0 | 0 |
| 1 | 1 | 0 | 0 | 2019-09-12 19:06:48 | 1 | plugins.blocks | subscription | SubscriptionBlockPlugin | 1 | 0 |
| 1 | 0 | 0 | 0 | 2019-09-12 19:06:48 | 1 | plugins.blocks | browse | BrowseBlockPlugin | 1 | 0 |
| 1 | 0 | 0 | 0 | 2019-09-12 19:06:48 | 1 | plugins.blocks | makeSubmission | MakeSubmissionBlockPlugin | 1 | 0 |
| 1 | 0 | 0 | 0 | 2019-09-12 19:06:48 | 1 | plugins.blocks | information | InformationBlockPlugin | 1 | 0 |
| 1 | 0 | 0 | 0 | 2019-09-12 19:06:48 | 1 | plugins.blocks | developedBy | DevelopedByBlockPlugin | 1 | 0 |
| 1 | 0 | 0 | 0 | 2019-09-12 19:06:48 | 1 | plugins.blocks | languageToggle | LanguageToggleBlockPlugin | 1 | 0 |
| 1 | 0 | 0 | 0 | 2019-09-12 19:06:48 | 1 | plugins.gateways | resolver | | 0 | 0 |
| 1 | 0 | 0 | 0 | 2019-09-12 19:06:48 | 1 | plugins.generic | recommendByAuthor | RecommendByAuthorPlugin | 1 | 1 |
| 1 | 0 | 0 | 0 | 2019-09-12 19:06:48 | 1 | plugins.generic | usageStats | UsageStatsPlugin | 0 | 1 |
| 1 | 0 | 0 | 0 | 2019-09-12 19:06:48 | 1 | plugins.generic | lensGalley | LensGalleyPlugin | 1 | 0 |
| 0 | 1 | 0 | 0 | 2019-09-12 19:06:48 | 1 | plugins.generic | citationStyleLang uage | CitationStyleLanguagePlugin | 1 | 0 |
| 1 | 2 | 0 | 0 | 2019-09-12 19:06:48 | 1 | plugins.generic | staticPages | StaticPagesPlugin | 1 | 0 |
| 1 | 0 | 0 | 0 | 2019-09-12 19:06:48 | 1 | plugins.generic | googleAnalytics | GoogleAnalyticsPlugin | 1 | 0 |
| 1 | 2 | 0 | 0 | 2019-09-12 19:06:48 | 1 | plugins.generic | openAIRE | OpenAIREPlugin | 1 | 0 |
| 1 | 0 | 0 | 0 | 2019-09-12 19:06:48 | 1 | plugins.generic | driver | DRIVERPlugin | 1 | 0 |
| 1 | 0 | 0 | 0 | 2019-09-12 19:06:48 | 1 | plugins.generic | tinymce | TinyMCEPlugin | 1 | 0 |
| 1 | 0 | 1 | 0 | 2019-09-12 19:06:48 | 1 | plugins.generic | pdfJsViewer | PdfJsViewerPlugin | 1 | 0 |
| 1 | 0 | 0 | 0 | 2019-09-12 19:06:48 | 1 | plugins.generic | dublinCoreMeta | DublinCoreMetaPlugin | 1 | 0 |
| 1 | 0 | 0 | 0 | 2019-09-12 19:06:48 | 1 | plugins.generic | usageEvent | | 0 | 0 |
| 1 | 1 | 1 | 1 | 2019-09-12 19:06:48 | 1 | plugins.generic | orcidProfile | OrcidProfilePlugin | 1 | 0 |
| 1 | 2 | 0 | 0 | 2019-09-12 19:06:48 | 1 | plugins.generic | customBlockManage r | CustomBlockManagerPlugin | 1 | 0 |
| 1 | 0 | 0 | 0 | 2019-09-12 19:06:48 | 1 | plugins.generic | webFeed | WebFeedPlugin | 1 | 0 |
| 1 | 0 | 0 | 0 | 2019-09-12 19:06:48 | 1 | plugins.generic | htmlArticleGalley | HtmlArticleGalleyPlugin | 1 | 0 |
| 1 | 0 | 0 | 0 | 2019-09-12 19:06:48 | 1 | plugins.generic | googleScholar | GoogleScholarPlugin | 1 | 0 |
| 1 | 2 | 0 | 0 | 2019-09-12 19:06:48 | 1 | plugins.generic | acron | AcronPlugin | 1 | 1 |
| 1 | 0 | 0 | 0 | 2019-09-12 19:06:48 | 1 | plugins.importexport | native | | 0 | 0 |
| 1 | 0 | 0 | 0 | 2019-09-12 19:06:48 | 1 | plugins.importexport | users | | 0 | 0 |
| 1 | 1 | 0 | 0 | 2019-09-12 19:06:48 | 1 | plugins.importexport | doaj | | 0 | 0 |
| 2 | 1 | 0 | 0 | 2019-09-12 19:06:48 | 1 | plugins.importexport | crossref | | 0 | 0 |
| 2 | 0 | 0 | 0 | 2019-09-12 19:06:48 | 1 | plugins.importexport | datacite | | 0 | 0 |
| 1 | 0 | 0 | 0 | 2019-09-12 19:06:48 | 1 | plugins.importexport | pubmed | | 0 | 0 |
| 2 | 0 | 0 | 0 | 2019-09-12 19:06:48 | 1 | plugins.importexport | medra | | 0 | 0 |
| 1 | 0 | 0 | 0 | 2019-09-12 19:06:48 | 1 | plugins.oaiMetadataFormats | dc | | 0 | 0 |
| 1 | 0 | 0 | 0 | 2019-09-12 19:06:48 | 1 | plugins.oaiMetadataFormats | rfc1807 | | 0 | 0 |
| 1 | 0 | 0 | 0 | 2019-09-12 19:06:48 | 1 | plugins.oaiMetadataFormats | marc | | 0 | 0 |
| 1 | 0 | 0 | 0 | 2019-09-12 19:06:48 | 1 | plugins.oaiMetadataFormats | marcxml | | 0 | 0 |
| 1 | 0 | 0 | 0 | 2019-09-12 19:06:48 | 1 | plugins.paymethod | paypal | | 0 | 0 |
| 1 | 0 | 0 | 0 | 2019-09-12 19:06:48 | 1 | plugins.paymethod | manual | | 0 | 0 |
| 1 | 0 | 0 | 0 | 2019-09-12 19:06:48 | 1 | plugins.pubIds | urn | URNPubIdPlugin | 1 | 0 |
| 1 | 0 | 0 | 0 | 2019-09-12 19:06:48 | 1 | plugins.pubIds | doi | DOIPubIdPlugin | 1 | 0 |
| 2 | 0 | 0 | 0 | 2019-09-12 19:06:48 | 1 | plugins.reports | reviewReport | | 0 | 0 |
| 1 | 0 | 0 | 0 | 2019-09-12 19:06:48 | 1 | plugins.reports | articles | | 0 | 0 |
| 1 | 0 | 0 | 0 | 2019-09-12 19:06:48 | 1 | plugins.reports | views | | 0 | 0 |
| 1 | 1 | 0 | 0 | 2019-09-12 19:06:48 | 1 | plugins.reports | counterReport | | 0 | 0 |
| 1 | 0 | 0 | 0 | 2019-09-12 19:06:48 | 1 | plugins.themes | default | DefaultThemePlugin | 1 | 0 |
| 3 | 1 | 2 | 1 | 2019-09-12 19:06:38 | 1 | core | ojs2 | | 0 | 1 |

Hmmm… so sitewide is set to 0 for the plugin, so I will think about this a bit. I’ll be back (we are having a conference this week)

thank you very much, jnugent :slight_smile:

Hi @jnugent!

I’ve checked that after installing the ORCID plugin with branch: stable-3_1_2, now It doesn’t work any registration.

Before installing it, registration worked when you did it on a journal. It didn’t just work when you did it on the main screen.

Now when you try to register in the main screen, you obtain the following result:

image

And if you try it on a journal, you obtain nothing. It doesn’t do anything, and keeps on the same screen:

image

Thanks for your help.
Regards.

Hi,

If you’re getting server 500 errors, I suggest you look in your PHP/Apache error log again. Those are fatal errors and will be recorded there.

Cheers,

These are the logs when I try to register on the main screen:
[Tue Dec 03 12:35:06.934396 2019] [php7:warn] [pid 44760] [client 192.168.128.73:2040] PHP Warning: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/ojs/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 134, referer: https://erevistas.publicaciones.uah.es/index.php/index/admin/index
[Tue Dec 03 12:35:11.001327 2019] [php7:warn] [pid 44760] [client 192.168.128.73:2040] PHP Warning: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/ojs/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 134, referer: https://erevistas.publicaciones.uah.es/index.php/index/login
[Tue Dec 03 12:35:11.020749 2019] [php7:warn] [pid 44760] [client 192.168.128.73:2040] PHP Warning: Declaration of RegistrationHandler::validate($request) should be compatible with PKPHandler::validate($requiredContexts = NULL, $request = NULL) in /home/ojs/lib/pkp/pages/user/RegistrationHandler.inc.php on line 19, referer: https://erevistas.publicaciones.uah.es/index.php/index/login
[Tue Dec 03 12:35:11.036091 2019] [php7:warn] [pid 44760] [client 192.168.128.73:2040] PHP Warning: Declaration of RegistrationForm::validate() should be compatible with Form::validate($callHooks = true) in /home/ojs/lib/pkp/classes/user/form/RegistrationForm.inc.php on line 21, referer: https://erevistas.publicaciones.uah.es/index.php/index/login
[Tue Dec 03 12:35:11.144620 2019] [php7:error] [pid 44760] [client 192.168.128.73:2040] PHP Fatal error: Uncaught Error: Call to a member function getId() on null in /home/ojs/plugins/generic/orcidProfile/OrcidProfilePlugin.inc.php:256\nStack trace:\n#0 /home/ojs/plugins/generic/orcidProfile/OrcidProfilePlugin.inc.php(292): OrcidProfilePlugin->buildOAuthUrl(‘orcidAuthorize’, Array)\n#1 /home/ojs/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_filterhandler.php(63): OrcidProfilePlugin->registrationFilter(’\trunFilter(‘output’, '\trender(false, 1)\n#4 /home/ojs/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(134): Smarty_Internal_TemplateBase->_execute(Object(Smarty_Internal_Template), NULL, 'fe8 in /home/ojs/plugins/generic/orcidProfile/OrcidProfilePlugin.inc.php on line 256, referer: https://erevistas.publicaciones.uah.es/index.php/index/login

Thanks.
Regards.