Support

Account

Home Forums Backend Issues (wp-admin) Uncaught TypeError: t.mime_types.split is not a function

Solved

Uncaught TypeError: t.mime_types.split is not a function

  • Hello, i’m using ACF 5.4.3 and WP 4.6. Page have some groups of fields, few of them have image field, and one group throw this error when i’m trying to upload image:
    Uncaught TypeError: t.mime_types.split is not a function – acf-input.min.js:2
    The other works fine.
    Problem field in in repeater and in this repeater i have Image field, WYSIWYG, and text field.
    Can you look in it please?

  • I’m so sorry, it was tottaly my mistake and wrong field settings. Problem is solved.

  • @alexeysv How did you solve this? Running into same issue here.

    Edit: Nevermind, I replied to soon. I had registered via PHP and set mime_types as an array instead of a comma separated string.

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Uncaught TypeError: t.mime_types.split is not a function’ is closed to new replies.