Closed (fixed)
Project:
Feeds iCal
Version:
2.1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
4 Aug 2023 at 15:59 UTC
Updated:
16 Aug 2023 at 17:23 UTC
Jump to comment: Most recent
When carrying out an import of an iCal, I get this warning logged:
Deprecated function: auto_detect_line_endings is deprecated in ICal\ICal->__construct() (line 500 of /vendor/johngrogg/ics-parser/src/ICal/ICal.php)
This is deprecated in PHP 8.1.
The call to ICal is coming from IcalParser.
Run an iCal feeds importer on a site using PHP 8.1.
Remove the use of this deprecated function. Not clear whether there is functionality lost in doing that which would need to be replaced.
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
Comment #2
ben.hamelinLooks like we need to up the version requirement for johngrogg/ics-parser to ^3
https://github.com/u01jmg3/ics-parser/issues/325
Comment #4
ben.hamelin@ryanrobinson_wlu Thanks for opening this up. I've just tagged a new release 2.1.0 that updates the requirement for johngrogg/ics-parser.
Can you confirm this updated version resolves your issue?
Comment #5
ryan-l-robinson commented@ben.hamelin Looks good in my first test! Thanks for fixing this and making a release so fast.
Comment #6
ben.hamelinYou bet, glad it's working for you!