View Issue Details

IDProjectCategoryView StatusLast Update
0005698Composrcorepublic2024-04-18 02:17
ReporterAdam EdingtonAssigned ToPatrick Schmalstig 
SeverityMinor-bug 
Status resolvedResolutionfixed 
Product Version10.0.47 
Fixed in Version10.0.48.beta 
Summary0005698: Additional PHP 8 deprecation errors
DescriptionFunction utf8_encode() is deprecated in /sources/global3.php on line 946

str_replace(): Passing null to parameter 0000002 ($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
TagsNo tags attached.
Time estimation (hours)
Sponsorship open

Relationships

has duplicate 0005676 resolvedPatrick Schmalstig Deprecated: str_replace() 
related to 0005700 resolvedPatrick Schmalstig utf8_* deprecated in PHP 8.2 

Activities

admin

2024-04-14 22:16

administrator   ~0008590

Automated message: This issue was created using the Report Issue Wizard on the Composr homesite.

Patrick Schmalstig

2024-04-14 22:18

administrator   ~0008591

Connected to topic 3433
https://compo.sr/forum/topicview/browse/deploying/check-in-how-is.htm

Patrick Schmalstig

2024-04-18 02:15

administrator   ~0008630

"str_replace(): Passing null to parameter 0000002 ($replace) of type array|string is deprecated in /sources/crud_module.php on line 717"

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.

Patrick Schmalstig

2024-04-18 02:16

administrator   ~0008631

Disregard the above, I found the problem.

Issue History

Date Modified Username Field Change
2024-04-14 22:17 Patrick Schmalstig Reporter Patrick Schmalstig => Adam Edington
2024-04-14 22:17 Patrick Schmalstig Assigned To => Patrick Schmalstig
2024-04-14 22:17 Patrick Schmalstig Status non-assigned => assigned
2024-04-14 22:17 Patrick Schmalstig Description Updated View Revisions
2024-04-14 22:18 Patrick Schmalstig Note Added: 0008591
2024-04-14 22:48 Adam Edington Relationship added has duplicate 0005676
2024-04-15 03:18 Patrick Schmalstig Relationship added related to 0005700
2024-04-18 02:15 Patrick Schmalstig Note Added: 0008630
2024-04-18 02:16 Patrick Schmalstig Note Added: 0008631
2024-04-18 02:17 Patrick Schmalstig Status assigned => resolved
2024-04-18 02:17 Patrick Schmalstig Resolution open => fixed