View Issue Details

IDProjectCategoryView StatusLast Update
0005700Composrcorepublic2024-04-28 22:31
ReporterPatrick SchmalstigAssigned ToPatrick Schmalstig 
SeverityTrivial-bug 
Status resolvedResolutionfixed 
Product Version10.0.47 
Fixed in Version10.0.48.beta 
Summary0005700: utf8_* deprecated in PHP 8.2
DescriptionSome places around the code were still using utf8_* directly when they (probably) should be using convert_to_internal_encoding. This function prioritises other encoding methods first and uses PHP's deprecated functions as a very last resort.

NOTE: This has not yet been thoroughly tested.
TagsRoadmap: v11
Time estimation (hours)
Sponsorship open

Relationships

related to 0005698 resolvedPatrick Schmalstig Additional PHP 8 deprecation errors 

Activities

admin

2024-04-15 03:16

administrator   ~0008610

Fixed in git commit 0507225f20 (https://gitlab.com/composr-foundation/composr/commit/0507225f20 - link will become active once code pushed to GitLab)

A hotfix (a TAR of files to upload) has been uploaded to this issue. These files are made to the latest intra-version state (i.e. may roll in earlier fixes too if made to the same files) - so only upload files newer than what you have already. If there are files in a hot-fix that you don't have then they probably relate to addons that you don't have installed and should be skipped. Always take backups of files you are replacing or keep a copy of the manual installer for your version, and only apply fixes you need. These hotfixes are not necessarily reliable or well supported. Not sure how to extract TAR files to your Windows computer? Try 7-zip (http://www.7-zip.org/).

hotfix-5700, 2024-04-15 3am.tar (265,728 bytes)

Patrick Schmalstig

2024-04-15 03:18

administrator   ~0008611

This may also need to be processed for v11

Patrick Schmalstig

2024-04-28 22:31

administrator   ~0008711

Does not need implementing for v11

Issue History

Date Modified Username Field Change
2024-04-15 03:18 Patrick Schmalstig Relationship added related to 0005698
2024-04-15 03:18 Patrick Schmalstig Status resolved => assigned
2024-04-15 03:18 Patrick Schmalstig Note Added: 0008611
2024-04-15 03:18 Patrick Schmalstig Tag Attached: Roadmap: v11
2024-04-15 03:21 Patrick Schmalstig Summary utf-8 deprecated in PHP 8.2 => utf8_* deprecated in PHP 8.2
2024-04-15 03:21 Patrick Schmalstig Description Updated View Revisions
2024-04-28 22:31 Patrick Schmalstig Status assigned => resolved
2024-04-28 22:31 Patrick Schmalstig Note Added: 0008711