PHP 8.1: explode(): Passing null to parameter #2 ($string) of type string is deprecated in pwa_str_to_list

Created on 20 January 2023, over 1 year ago
Updated 16 June 2023, about 1 year ago

Problem/Motivation

I get error for php 8.1

Deprecated function: explode(): Passing null to parameter #2 ($string) of type string is deprecated in pwa_str_to_list() (line 72 of modules/contrib/pwa/pwa.module).
pwa_str_to_list(NULL) (Line: 184) Drupal\pwa\Controller\PWAController->pwa_serviceworker_file_data(Object) call_user_func_array(Array, Array) (Line: 123) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 564)
πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡·πŸ‡ΊRussia batkor Irkutsk

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024