Bug #70289
closedPHP Warning because of modified Array in usort
100%
Description
Hello Core-Team,
visit a Content Element of type "list", switch to tab where you can find the selectbox "list_type". Now clear the "red flash" cache.
Right click -> reload current frame
Following PHP Warning will appear:
An error occurred trying to process items for field "Plugin:" (PHP Warning: usort(): Array was modified by the user comparison function in /Applications/MAMP/htdocs/typo3_src/typo3/sysext/frontend/Classes/Hooks/TableColumnHooks.php line 32).
I found following link:
https://bugs.php.net/bug.php?id=50688
Maybe it helps to prepend usort with @
Stefan
Updated by Gerrit Code Review about 9 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43728
Updated by Andreas Allacher about 9 years ago
To reproduce:
1.) \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin()
has to be called with a plugin name that references LLL:
2.) Language file for current language does not exist, e.g. locallang_db.xlf exists for "en" but current language is set to "de" and therefore it tries to find de.locallang_db.xlf which does not exist
This produces and exception and therefore results in the above mentioned bug.
Updated by Stefan Froemken about 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 513c91ced8b1478f61fefd277de682bf402b4be0.
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed