Issue #3558187: Deprecated function: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in PhpMarc\Field->__construct()

The site logs show a PHP 8.1 deprecation warning when exporting references to the MARC format.

The bibcite/composer.json requires caseyamcl/php-marc21: "~1.0". This version is not compatible with PHP 8.1. This constraint should be updated to a modern version, such as ^3.0, which supports PHP 8.1.

Closes #3558187


Edited by Kieran Cott

Merge request reports

Loading