Bug #21590
closed
Warnings in BE when using "Update reference index"
Added by Georg Ringer about 15 years ago.
Updated about 6 years ago.
Description
When I update the reference index in the backend by clicking DB check > manage reference index > update now I get this warning
PHP Warning
PHP Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\currenttrunk\t3lib\class.t3lib_refindex.php line 1022
using latest trunk
(issue imported from #M12639)
Files
works for me here. no warnings
Does db-compare find something to update in your installation?
db compare doesnt help, sorry to mention
checked with fresh installation, works now - close it?
sry still not working, of course $TYPO3_CONF_VARS['SYS']['displayErrors'] = '1'; is necessary ....
Cannot reproduce. I see no warning. Using trunk rev. 6546
it's difficult to reproduce as everyone has different data in.
I see no reason not to check array before foreach(), see patch
- Status changed from New to Under Review
Patch set 1 of change I29bca987a7897530a383b30b19bd8cfa008afd57 has been pushed to the review server.
It is available at http://review.typo3.org/6874
Patch set 2 of change I29bca987a7897530a383b30b19bd8cfa008afd57 has been pushed to the review server.
It is available at http://review.typo3.org/6874
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Under Review
- Status changed from Under Review to Resolved
- Status changed from Resolved to Closed
Also available in: Atom
PDF