[PHP 8.1] fseek deprecation in PHPgettext
Overview
Noisy error on cli
Reproduction steps
Performing a cache clear on cli
Current behaviour
[PHP Deprecation] fseek(): Passing null to parameter #2 ($offset) of type int is deprecated at .../drupal/vendor/civicrm/civicrm-packages/PHPgettext/streams.php:125
Expected behaviour
There should be no deprecation warnings.
Environment information
- CiviCRM: 5.66.0
- PHP: 8.1
- CMS: Drupal 9.5.11