Page register white

Hello @staff ,

I always have problems with “registering” only on the main page of the site, while other magazines operate normally.

error log :

[09-May-2021 02:18:55 America/Boise] PHP Warning:  session_destroy(): Session object destruction failed in /home1/boutiorg/public_html/example.com/lib/pkp/classes/session/SessionManager.inc.php on line 76
[09-May-2021 02:18:56 America/Boise] PHP Deprecated:  Non-static method PKPApplication::getRequest() should not be called statically in /home1/boutiorg/public_html/example.com/plugins/generic/reviewerCredits/ReviewerCredits.inc.php on line 227
[09-May-2021 02:18:56 America/Boise] PHP Deprecated:  Non-static method PKPApplication::getRequest() should not be called statically in /home1/boutiorg/public_html/example.com/plugins/generic/reviewerCredits/ReviewerCredits.inc.php on line 227
[09-May-2021 02:18:56 America/Boise] PHP Deprecated:  Non-static method PKPApplication::getRequest() should not be called statically in /home1/boutiorg/public_html/example.com/plugins/generic/reviewerCredits/ReviewerCredits.inc.php on line 227
[09-May-2021 02:18:59 America/Boise] PHP Fatal error:  Uncaught Error: Call to a member function getId() on null in /home1/boutiorg/public_html/example.com/plugins/generic/orcidProfile/OrcidProfilePlugin.inc.php:304
Stack trace:
#0 /home1/boutiorg/public_html/example.com/plugins/generic/orcidProfile/OrcidProfilePlugin.inc.php(343): OrcidProfilePlugin->buildOAuthUrl('orcidAuthorize', Array)
#1 /home1/boutiorg/public_html/example.com/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_filterhandler.php(63): OrcidProfilePlugin->registrationFilter('\n\n\n\t\n\n<!DOCTYPE...', Object(Smarty_Internal_Template))
#2 /home1/boutiorg/public_html/example.com/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(231): Smarty_Internal_Runtime_FilterHandler->runFilter('output', '\n\n\n\t\n\n<!DOCTYPE...', Object(Smarty_Internal_Template))
#3 /home1/boutiorg/public_html/example.com/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(232 in /home1/boutiorg/public_html/example.com/plugins/generic/orcidProfile/OrcidProfilePlugin.inc.php on line 304
[09-May-2021 02:19:03 America/Boise] PHP Warning:  session_destroy(): Session object destruction failed in /home1/boutiorg/public_html/example.com/lib/pkp/classes/session/SessionManager.inc.php on line 76
[09-May-2021 02:19:05 America/Boise] PHP Fatal error:  Uncaught Error: Call to a member function getId() on null in /home1/boutiorg/public_html/example.com/plugins/generic/orcidProfile/OrcidProfilePlugin.inc.php:304
Stack trace:
#0 /home1/boutiorg/public_html/example.com/plugins/generic/orcidProfile/OrcidProfilePlugin.inc.php(343): OrcidProfilePlugin->buildOAuthUrl('orcidAuthorize', Array)
#1 /home1/boutiorg/public_html/example.com/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_filterhandler.php(63): OrcidProfilePlugin->registrationFilter('\n\n\n\t\n\n<!DOCTYPE...', Object(Smarty_Internal_Template))
#2 /home1/boutiorg/public_html/example.com/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(231): Smarty_Internal_Runtime_FilterHandler->runFilter('output', '\n\n\n\t\n\n<!DOCTYPE...', Object(Smarty_Internal_Template))
#3 /home1/boutiorg/public_html/example.com/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(232 in /home1/boutiorg/public_html/example.com/plugins/generic/orcidProfile/OrcidProfilePlugin.inc.php on line 304
[09-May-2021 02:19:34 America/Boise] PHP Warning:  session_destroy(): Session object destruction failed in /home1/boutiorg/public_html/example.com/lib/pkp/classes/session/SessionManager.inc.php on line 76
[09-May-2021 02:19:34 America/Boise] ojs2: 404 Not Found

Hi @anass_ojs

It looks like you have the ORCID profile plugin enabled, but have not configured it. If you don’t need ORCID, disable the plugin. Configuring it correctly is quite a bit of work and requires registration with ORCID. If you want to use it, please see our guide:

https://docs.pkp.sfu.ca/orcid/en/

Jason

hi @jnugent

The ORCID plugin works well across all journals.
But in a home page, ORCID does not appear, and even a registration normal.

do know what the problem is ?

It looks like it’s a bug in the plugin. Line 304 in the plugin is:

And if you’re not in a journal, you won’t have a $context object.

@Dulip_Withanage did you have any suggestions here?

Cheers,
Jason

hi @jnugent

Where can I fix this error ???

It’s a bug in the plugin. For now I suggest disabling the ORCID plugin. I mentioned Dulip in my previous reply because he is the plugin developer and may have suggestions.

Thannks @jnugent for point it.

@anass_ojs can you check, if you have the most recent version of the plugin for the respective ojs version, casue I fixed this issue.

hi @Dulip_Withanage

Thanks for your feedback.

All info the plugin see image :

Capture