Open wunschradio opened 2 weeks ago
We downloaded the specified component and tested it with PHP 8.1 and PHP 8.2, but we couldn’t reproduce the issue. Maximum error reporting was also enabled—please see the attached screenshot for reference. If you are still experiencing the issue, could you provide additional details to help us replicate it?
Steps to reproduce the issue
Add a list field to select hours per day like
Expected result
list view should be fine
Actual result
Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /administrator/components/com_component/src/Model/ContentsModel.php on line 235
$options = explode(',', $oneItem->monday);
Name of component and email used to register (if relevant)
component 209823, table _content 336960
please change it to $options = (isset($oneItem->monday)) ? explode(',', $oneItem->monday) : array();
System information (as much as possible)
PHP 8.2
Additional comments