Citation Style Language in Arabic

Hello

When enabling Citation Style Language the Arabic page of the article will display this error message “This page isn’t working www.journalofbabylon.com is currently unable to handle this request. HTTP ERROR 500

How can we solve this issue, please?

I am using latest OJS version.

Regards

Hi @wesambhaya,

Check your PHP error log for details.

Regards,
Alec Smecher
Public Knowledge Project Team

/home/babylonojs/public_html/plugins/generic/cit in /home/babylonojs/public_html/plugins/generic/citationStyleLanguage/lib/vendor/seboettg/citeproc-php/src/Seboettg/CiteProc/Locale/Locale.php on line 48

Hi @wesambhaya,

That’s only part of the error message – can you post more of it?

Regards,
Alec Smecher
Public Knowledge Project Team

[01-May-2018 18:10:04 UTC] PHP Fatal error: Call to a member function getId() on null in /home/babylonojs/public_html/plugins/generic/citationStyleLanguage/pages/CitationStyleLanguageHandler.inc.php on line 101

Hi @wesambhaya,

What version of OJS are you using?

Regards,
Alec Smecher
Public Knowledge Project Team

Hello
Thank you very much for your care and support us.
The current version we use is: 3.1.1.0.
Regards

Hi @wesambhaya,

I’m not sure how this could be happening without some kind of customization being involved; have you customized your code?

Regards,
Alec Smecher
Public Knowledge Project Team

Hello
We have no customization done. All default code. Just using the responsive theme (manuscript “Default Child Theme”.
Regards

Hi All
Same issue here… Citation plug in works fine in all locale but when switching to Arabic, get the same thing This page isn’t working

I am using OJS 3.1.1.0

Appreciate any help!

Hi all,

It looks like this is happening because the CSL library doesn’t have a locale file in the form that OJS expects it to exist. I’ve filed this at Fix citation style language plugin where locales don't exist · Issue #3833 · pkp/pkp-lib · GitHub and there’s a patch underway.

Regards,
Alec Smecher
Public Knowledge Project Team

Thank you very much, it works.