#6021 - Array to string conversion in sources/hooks/systems/sitemap/page.php on line 101 when editing a Wiki page
0 guests and 0 members have recently viewed this.
The top 3 point earners from 30th Nov 2025 to 7th Dec 2025.
| Gabri |
|
|
|---|---|---|
| PDStig |
|
|
| Adam Edington |
|
|
There are no events at this time
The sitemap nodes were only following redirects one-level deep. If a redirect of a redirect were in place, the node would still receive redirect details, and the subsequent end() call would later result in an array to string error because $path would be an array.
This fix makes sitemap look up to 10 levels deep with redirects, and bail out on error if it exceeds 10 levels.
This fix has not been tested because I could not actually replicate this problem.