Home › Forums › Add-ons › Repeater Field › TypeError: 'undefined' is not an object › Reply To: TypeError: 'undefined' is not an object
Hi @Till
Thanks for the info.
For some reason, your toolbars are not being added to the wysiwyg
JS object. Normally, an array of toolbars will exist at acf.fields.wysiwyg.toolbars
(this.toolbars
).
On line 115 of core/controllers/input.php
you will see:
acf.fields.wysiwyg.toolbars = <?php echo json_encode( $t ); ?>;
It is possible that this line of script is not being run due to a JS error on the page. Can you check for any JS errors?
Perhaps also do some PHP debugging to make sure line 115 is correct data?
Thanks
E
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.