[OJS 3.1.2.1] malformed citation syntax for some formats in Citation Style Plugin

@asmecher I suspect this may be related to Citation Style Language punctuation issue (OJS 3.1.2.4):

In two different instances of 3.1.2.1, most citation styles that give only the initial of the author’s first name followed by a period now appear directly after the last name without a space. For example:

refuge-cite

Would this be a citeproc issue as well?

Hi @tmrozewski,

I think you’re probably encountering the issue described/fixed here: Strangely result on php7.3 · Issue #80 · seboettg/citeproc-php · GitHub

Regards,
Alec Smecher
Public Knowledge Project Team

Thanks, Alec. As it happens my IT team just upgraded to PHP 7.4.14 to run OJS 3.3 in other instances. Is there a reasonably quick fix to the problem in 3.1, other than upgrading to 3.2 or 3.3?

Hi @tmrozewski,

You can update the citeproc-php dependency (declared in lib/pkp/composer.json) to a version that includes the fix linked above, by using Composer or by patching it manually.

Regards,
Alec Smecher
Public Knowledge Project Team

1 Like

Fantastic, thanks so much! I’ll pass this on to my IT team.