Register page not showing (blank white)

hi everyone,
i have install ojs 3.1.2, when i click register menu on top side, the page are not showing anything just white screen.
here my error log on my server
[Tue Apr 30 14:08:25.832274 2019] [:error] [pid 115956] [client 192.168.252.254:47062] PHP Warning: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/admin/web/xxxxx.xx.xx/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 0, referer: http://xxxxx.xx.xx/
[Tue Apr 30 14:08:25.845547 2019] [:error] [pid 115956] [client 192.168.252.254:47062] PHP Warning: Declaration of RegistrationHandler::validate($request) should be compatible with PKPHandler::validate($requiredContexts = NULL, $request = NULL) in /home/admin/web//xxxxx.xx.xx/public_html/lib/pkp/pages/user/RegistrationHandler.inc.php on line 19, referer: http:///xxxxx.xx.xx/
[Tue Apr 30 14:08:25.848789 2019] [:error] [pid 115956] [client 192.168.252.254:47062] PHP Warning: Declaration of RegistrationForm::validate() should be compatible with Form::validate($callHooks = true) in /home/admin/web//xxxxx.xx.xx/public_html/lib/pkp/classes/user/form/RegistrationForm.inc.php on line 21, referer: http://xxxxx.xx.xx/
[Tue Apr 30 14:08:25.932975 2019] [:error] [pid 115956] [client 192.168.252.254:47062] PHP Deprecated: Non-static method Request::getContext() should not be called statically in /home/admin/web//xxxxx.xx.xx/public_html/plugins/generic/orcidProfile/OrcidProfilePlugin.inc.php on line 283, referer: http://xxxxx.xx.xx/
[Tue Apr 30 14:08:25.932995 2019] [:error] [pid 115956] [client 192.168.252.254:47062] PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically in /home/admin/web/xxxxx.xx.xx/public_html/classes/core/Request.inc.php on line 68, referer: http://xxxxx.xx.xx/
[Tue Apr 30 14:08:25.933010 2019] [:error] [pid 115956] [client 192.168.252.254:47062] PHP Deprecated: Non-static method Request::getContext() should not be called statically in /home/admin/web/xxxxx.xx.xx/public_html/plugins/generic/orcidProfile/OrcidProfilePlugin.inc.php on line 231, referer: http://xxxxx.xx.xx/
[Tue Apr 30 14:08:25.933016 2019] [:error] [pid 115956] [client 192.168.252.254:47062] PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically in /home/admin/web/xxxxx.xx.xx/public_html/classes/core/Request.inc.php on line 68, referer: http://xxxxx.xx.xx/
[Tue Apr 30 14:08:25.933088 2019] [:error] [pid 115956] [client 192.168.252.254:47062] PHP Fatal error: Uncaught Error: Call to a member function getId() on null in /home/admin/web/xxxxx.xx.xx/public_html/plugins/generic/orcidProfile/OrcidProfilePlugin.inc.php:253\nStack trace:\n#0 /home/admin/web/xxxxx.xx.xx/public_html/plugins/generic/orcidProfile/OrcidProfilePlugin.inc.php(289): OrcidProfilePlugin->buildOAuthUrl(‘orcidAuthorize’, Array)\n#1 /home/admin/web/xxxxx.xx.xx/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_filterhandler.php(63): OrcidProfilePlugin->registrationFilter(’\trunFilter(‘output’, '\trender(false, 1)\n#4 / in /home/admin/web/xxxxx.xx.xx/public_html/plugins/generic/orcidProfile/OrcidProfilePlugin.inc.php on line 253, referer: http://xxxxx.xx.xx/
[Tue Apr 30 14:08:28.069682 2019] [:error] [pid 115960] [client 192.168.252.254:47064] PHP Warning: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/admin/web/xxxxx.xx.xx/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 0, referer: http://xxxxx.xx.xx/index.php/intech/management/settings/website
[Tue Apr 30 14:08:28.169420 2019] [:error] [pid 122935] [client 192.168.252.254:47066] PHP Warning: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/admin/web/xxxxx.xx.xx/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 0, referer: http://xxxxx.xx.xx/index.php/intech/management/settings/website

thanks for helping

The critical error is here:

The orcidProfile plugin is failing to identify which journal context (or site context) is active when you try to register.

Did you recently upgrade to 3.1.2, or did you recently add the orcidProfile plugin?

yes i enable orcidProfile plugin, does it not support? because I used version 3.1.2 from begining, thanks for helping

I think the orcidProfile plugin is not yet compatible with OJS 3.1.2.

Hi all,

As far as I’m aware, the plugin should be compatible with OJS 3.1.2. @herdianbhakti, where did you install it from, and what version of the plugin are you using?

Regards,
Alec Smecher
Public Knowledge Project Team

hi, @asmecher,
i get the plugin from plugin page in ojs and i enable it.
I just tried registering from each journal submenu, and can go to the login page, maybe I will delete the register menu on the main page, thank you for the help.

hi @herdianbhakti,

I was taking part in contributing to the orcidProfile Plugin, and this particular code addition was my contribution. We did not consider that the Registration page could be loaded in a site context, without a journal context.

Before allowing registration with Orcid without a specific journal context, aka from the main page, we have to check that the plugin is enabled and configured for the complete OJS site.

A quick fix would be just to disable the plugin in a site wide context, but that is confusing, so probably we implement a check if the plugin is configured globally via the config.inc.php (this was one addition) and if that is true we don’t need the journal context to get the correct Orcid API configuration to add the “Register with ORCID” button to the Registration page.

Cheers and regards,

Nils

hi @nweiher,

Thanks for the explanation
maybe what I will do is disable the register menu on the main page.
and allowing other users to register on specific journal context

regards