#5698 - Additional PHP 8 deprecation errors
| Identifier | #5698 |
|---|---|
| Issue type | Minor issue (breaks specific functionality) |
| Title | Additional PHP 8 deprecation errors |
| Status | Completed |
| Handling member | PDStig |
| Version | 10.0.47 |
| Addon | core |
| Description | Function utf8_encode() is deprecated in /sources/global3.php on line 946
str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /sources/crud_module.php on line 717 Uncaught TypeError: array_keys(): Argument #1 ($array) must be of type array, null given in /sources/comcode.php:260 |
| Steps to reproduce | |
| Funded? | No |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".


Comments
https://compo.sr/forum/topicview/browse/deploying/check-in-how-is.htm
I cannot find this one. The parameter being passed into str_replace is already being guarded by a not is null check. Are you sure you're running 10.0.47? Or maybe I fixed this already for 10.0.48 and can't remember that I did.