#4726 - Fix issues on PHP 8.1
| Identifier | #4726 |
|---|---|
| Issue type | Major issue (breaks an entire feature) |
| Title | Fix issues on PHP 8.1 |
| Status | Completed |
| Handling member | Chris Graham |
| Version | 10.0.39 |
| Addon | core |
| Description | There are a number of issues stopping Composr working on PHP 8.1. Mostly relate to no longer auto-converting null to '' or 0, in calls to PHP functions. This fixes any issues running our test set, and we've done a cursory check of all pages off of the sitemap. There may be other issues found and fixed over time as it is very difficult to find all these issues due to PHP's dynamic nature. Additionally PHP 8.1 deprecates strtotime, which we use heavily. For now (and mostly already) we are just suppressing any errors coming out of this function. We will have to remove our usage in a future major version, to support PHP 9 when that comes. |
| Steps to reproduce | |
| Funded? | No |
| Commits |
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