Support

Account

Home Forums Backend Issues (wp-admin) Uncaught TypeError: Cannot read property 'body' of undefined

Solved

Uncaught TypeError: Cannot read property 'body' of undefined

  • I hacked my by removing the this.add_events code, so it doesn’t do it anymore. I think you are right about it being load time related.

  • I’m getting the same error. “Cannot read property ‘body’ of undefined”

  • Hi guys

    I think I’ve figured out the issue but will need to test further.

    This error seems to occur when the main editor tab is set to ‘text’.
    If you set the tab to ‘visual’ and reload the page, there is no JS error.

    I’ll start digging through code to figure out why and have this fixed shortly!

    Cheers
    E

  • Hi guys

    Thanks for your patience with this bug.
    I think I’ve found and fixed the issue.

    Can you please download the latest ACF4 files from github and test:
    https://github.com/elliotcondon/acf/

    Thanks
    Elliot

  • Having the same issue

    Uncaught TypeError: Cannot read property ‘body’ of undefined
    tinymce.min.js?ver=4401-20160726:11

  • Hi @esparks

    Thanks for the reply. Can you please help me fix this issue by doing the following:

    1. Open a support ticket with a short description of the issue and a link back to this thread: https://support.advancedcustomfields.com/new-ticket/

    2. Be sure to note your ACF and WP version numbers in the ticket, and ask for it to be escalated to Elliot (as asked on the forum)

    3. Include login details to you site and a link to the edit page in question so I may view the issue

    Thanks
    Elliot

Viewing 6 posts - 26 through 31 (of 31 total)

The topic ‘Uncaught TypeError: Cannot read property 'body' of undefined’ is closed to new replies.