ORCID profile plugin takes too long to process

the ORCID plugin takes too long to process after I clicked OK button. I waited around 3-4 hours
I’m using ojs 3.3.0.7orcid2

php version 7.4

Hi @malmal

If the spinning wheel is just spinning endlessly then there is probably a Fatal Error being logged in your server logs. Please have a look.

Regards
Jason

This is what i get in the server error log @jnugent
Please advice

[15-Aug-2021 18:08:08 Asia/Kuala_Lumpur] PHP Parse error: syntax error, unexpected ‘class’ (T_CLASS) in /home/mabjourn/public_html/mabnew/lib/pkp/classes/core/PKPApplication.inc.php on line 230

Hi @malmal

What version of PHP are you using? OJS 3.3.0.7 requires PHP 7.3+

Best
Jason

I’m using PHP version 7.4. Any specific module in the PHP that I need to enable to use the plugin? @jnugent

Hi @malmal

That error message indicates to me that you might be using a version of PHP that is lower than 7. Can you confirm with your systems admin or maybe confirm with a phpinfo() test?

The other thing is to make sure that the ORCID plugin you’re using is in fact the latest version for 3.3.0.7. It should be available in the plugin gallery and it will tell you if an update is available.

Cheers,
Jason

Hi @jnugent

Yes confirmed using PHP 7.4

image

I believe 1.1.2.19 is the latest version of the plugin

image

I’ll tag @Dulip_Withanage on this, then, since he developed the plugin. There should not be a problem using it for 3.3.0.7.

Cheers,
Jason

Hi @malmal,

I’m pretty sure that the error message you quoted isn’t related to an attempt to use the ORCID profile plugin. I agree with @jnugent that the message indicates that you’re running an old version of PHP – maybe you tried to do something with an old command-line version of PHP which caused the error. In any case, I’d suggest checking the log again to see if there’s a message that corresponds to the same time and date as your attempt to use the ORCID profile plugin. Also check your browser’s error console to see if there was a Javascript error.

Regards,
Alec Smecher
Public Knowledge Project Team

error

The admin of server informed that the scripts violated 7 security filters. Admin solved the problem.