-
DYdave β
committed 48b19676 on 2.0.x authored by
bkosborne β
Issue #3302051 by bkosborne: Fixed PHP 8.1 compatibility error: '...
-
DYdave β
committed 48b19676 on 2.0.x authored by
bkosborne β
- Status changed to Fixed
10 months ago 1:04am 27 January 2024 - π«π·France dydave
Long overdue!
Really sorry for the delay on the PHP-8.1 and D10 compatibility tickets.
Thanks a lot Brian (@bkosborne) for the great help with the maintenance work and contributions on this module.
After testing the issue myself, I was easily able to reproduce the issue with D10.2.2 and PHP 8.1, with the same error message:
Deprecated function: trim(): Passing null to parameter #1 ($string) of type string is deprecated in Drupal\collapse_text\Plugin\Filter\CollapseText->processChildItem() (line 277 of modules/custom/collapse_text/src/Plugin/Filter/CollapseText.php).
The error disappeared after applying the patch from #3, which I then committed to the 2.0.x branch at #8.
I'll keep digging in the issue queue and try to roll in a few of the easy fixes to prepare the next stable release.
Thanks again very much for the great help, the patches, forks and testing feedback.
Cheers! Automatically closed - issue fixed for 2 weeks with no activity.