Troubleshooting
Repeaters and rows
On this page
(array) $row gives garbage
A row is an object. Use $row->toArray().
$row + array( … ) fails
Same reason. Use array_merge( $row->toArray(), … ).
A repeater inside a repeater inside a repeater
Not allowed. Use a group to organize the third level. The builder tells you when you try, and a file that has one is refused naming the repeater.
have_rows() does not exist
There is no have_rows(). Use foreach ( ugly_rows( 'name' ) as $row ).
The rows are in the wrong order
Rows keep the order of the editor. Check you are not sorting them in your code.
Did this article answer your question?
Thank you. It helps us make the documentation better. Need more help?