Errors in the logs, caused by language class
A bug in 2.2, submitted by michael-e on 18 January 2011
Announcement
Symphony's issue tracker has been moved to Github.
Issues are displayed here for reference only and cannot be created or edited.
Browse
Closed#494: Errors in the logs, caused by language class
There are two loops of:
foreach($extensions as $extension) {
I don’t know why there are two, could be merged into one. There needs to be a check that $extensions
is an array first.
Fixed/Optimised in this commit
While it’s correct that there shouldn’t be two foreach
loops over the $extensions
object, the fix is wrong and actually breaks language management.
This should really solve the problem: https://github.com/nilshoerrmann/symphony-2/commit/76d465c93c4cc270e7e4efa41df10cbf5cb6462e
I’ll send a new pull request.
This issue is closed.
Symphony 2.2beta2 (installed from ZIP) throws lots of errors in the logs like these: