Seboettg\CiteProc\Exception\InvalidDateTimeException: Could not create valid date with year=, month=, day=. in Seboettg\CiteProc\Rendering\Date\DateTime->__construct() (line 45 of /var/www/html/vendor/seboettg/citeproc-php/src/Rendering/Date/DateTime.php)

Created on 22 February 2024, 10 months ago
Updated 24 March 2024, 9 months ago

Hey people.

Thanks for all the work on this module!

We're running the 3.0.0-beta3 version of bibcite on php 8.1 and getting the following error:

TypeError: Unsupported operand types: string * int in AcademicPuma\CiteProc\DatePart->render() (line 40 of /var/www/html/vendor/academicpuma/citeproc-php/src/DatePart.php).

I note that the https://packagist.org/packages/academicpuma/citeproc-php package is abandoned and that this commite swaps out the package for https://packagist.org/packages/seboettg/citeproc-php

https://git.drupalcode.org/project/bibcite/-/commit/d9976bb3de1d619b1f73...

Might we get a new release to include this update?

Note: I have tried the 3.x-dev branch, which does fix the above issue, but I get a new error:

Seboettg\CiteProc\Exception\InvalidDateTimeException: Could not create valid date with year=, month=, day=. in Seboettg\CiteProc\Rendering\Date\DateTime->__construct() (line 45 of /var/www/html/vendor/seboettg/citeproc-php/src/Rendering/Date/DateTime.php).

πŸ› Bug report
Status

Postponed: needs info

Version

3.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom Finn Lewis

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024