Issue with Integrating Text Editor in Repeater Field in HivePress

Hi,
I am currently facing a specific issue with HivePress that I hope you can assist me with. I have integrated a repeater field in my listing setup, and within this field, I’m trying to include a text editor for a textarea component. However, when I set 'editor' => true for the textarea within the repeater field, I encounter a PHP fatal error.

The error message is as follows: Unknown format specifier "i" in /home/namastt/wp-includes/class-wp-editor.php on line 305. This issue arises specifically when I try to integrate the text editor within the repeater field. The text fields save fine when I do not use the editor, but as soon as I introduce the editor feature, this error occurs.

Here’s a brief outline of the setup:

  • I have a repeater field in HivePress for listings.
  • Inside this repeater field, there’s a textarea field where I’m trying to enable the text editor.
  • The PHP error occurs when I try to include 'editor' => true in the textarea field’s settings.

This issue seems to be specific to the interaction between the repeater field and the text editor functionality in HivePress. I would greatly appreciate any insights, suggestions, or solutions you could offer to resolve this issue.

Incorporating Custom ACF Fields in Listing Forms: Additionally, I am interested in knowing whether it is possible to include custom fields configured in Advanced Custom Fields (ACF) within HivePress listing forms to manage new types of fields. If this integration is possible, could you provide guidance or direct me to resources on how to implement custom ACF fields in HivePress listing forms?

Thank you in advance for your assistance and support.

Hi,
Unfortunately we can’t guarantee editor support in Repeater field type (it still doesn’t support some nested field types, e.g. Attachment), but you can try to provide other values for the editor parameter, in addition to true/false it accepts an array of tinymce editor settings wp_editor() – Function | Developer.WordPress.org

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.