Problem/Motivation
I catched a PHP7.4 notice deprecation
Array and string offset access syntax with curly braces is deprecated in PHP 7.4. Use square brackets instead. Seen for $match[2] {0} in ../apachesolr_views/handlers/apachesolr_views_handler_filter_string.inc 50
See https://wiki.php.net/rfc/deprecate_curly_braces_array_access
Steps to reproduce
Switch to php7.4, check logs
Proposed resolution
I would suggest to apply a patch
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | apachesolr-views-handler-offset-access-syntax-3192509-6.patch | 608 bytes | Andrei Haurukovich |
Comments
Comment #2
Andrei Haurukovich commentedComment #3
Andrei Haurukovich commentedComment #4
Andrei Haurukovich commentedComment #5
Andrei Haurukovich commentedComment #6
Andrei Haurukovich commentedComment #7
Andrei Haurukovich commentedComment #9
miroslavbanov commentedFixed, thanks.