Problem/Motivation

After upgrading to PHP 8, I started getting this error.

TypeError: Unsupported operand types: string * int in csl_date_part->render() (line 1287 of /var/www/html/web/sites/all/modules/biblio/modules/CiteProc/CSL.inc).

On this route:

/biblio?s=year&o=asc

Issue fork biblio-3400324

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

jordan.jamous created an issue. See original summary.

jordan.jamous’s picture

The patch

chetan 11 made their first commit to this issue’s fork.

chetan 11’s picture

Status: Active » Needs review

Hi
I have fixed the above issue, please check the solution in attached MR.
Thanks

Jaspreet-Kaur’s picture

Reviewed! MR! 8 worked for me. Thanks.

keshavv’s picture

Status: Needs review » Reviewed & tested by the community

Working as expected for me as well. LGTM

liam morland’s picture

Status: Reviewed & tested by the community » Fixed
jordan.jamous’s picture

Thank you guys for the swift response. This is the latest MR as a patch file

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.