View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004352 | Composr | core | public | 2020-08-17 21:38 | 2020-08-17 21:38 |
Reporter | Chris Graham | Assigned To | Chris Graham | ||
Severity | Major-bug | ||||
Status | resolved | Resolution | fixed | ||
Product Version | 10.0.31 | ||||
Fixed in Version | 10.0.32 | ||||
Summary | 0004352: Crash on PHP 5.x versions in some situations | ||||
Description | There's a bug in PHP 5.x whereby sorting arrays can produce incorrect PHP errors (https://bugs.php.net/bug.php?id=50688). Particularly Composr may sort arrays by a Tempcode property, and Composr thinks setting internal caching upon evaluating the Tempcode is a modification of the parent array. We only received one automated error e-mail about this, but I suspect it could be a much more widespread problem. Or, perhaps the bug only manifests under more specific conditions. Also generally tidy up any other @'d sorts (error suppressed sorts), so we only @ when we actually need to, with clear LEGACY notices in the code. | ||||
Tags | No tags attached. | ||||
Time estimation (hours) | |||||
Sponsorship open | |||||
|
Fixed in git commit 7ff07a9f0 (https://gitlab.com/composr-foundation/composr/commit/7ff07a9f0 - 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-4352, 2020-08-17 9pm.tar (171,008 bytes) |