• Resolved nsitu

    (@nsitu)


    FYI, I get a JavaScript error relating to foyer-admin-min.js

    Uncaught TypeError: Cannot read property ‘id’ of undefined

    As far as I can tell, the “id” in question is this one:
    wp.media.model.settings.post.id

    It only happens on some backend pages and not others.
    I was working with another plugin, (Advanced Custom Fields) when I saw the error.

    Note that this error prevents Advanced Custom Fields from working properly.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Menno Luitjes

    (@mennolui)

    Hi @nsitu, thanks for reporting this! I haven’t seen this error before so could you help reproducing this?

    I do have a hunch..
    Do you by any chance see this error while editing a specific slide? Could you check if on this specific slide there was an image uploaded (maybe select ‘Image’ background first to see the image upload button) that has since been deleted from the media library? Could you check if the error is gone when you select an image and save that slide?

    Or do you see this error while editing any slide? Or while adding a new slide?

    If none of the above hunches are correct.. Could you share some specs of your WordPress setup? What WordPress version are you using? Any special plugins that add back-end features to image uploading or media library enhancements? Etc.

    Thanks so much! This will help me fix the issue in an upcoming Foyer update.

    Plugin Author Menno Luitjes

    (@mennolui)

    Hi @nsitu, could you help reproducing this? As it is an error I have never seen myself (with ACF plugin installed) any help is appreciated so I can find the problem and fix it for you.

    Plugin Author Menno Luitjes

    (@mennolui)

    Hi @nsitu, closing this for now, but do let me know if you find some time to help reproducing this. Best!

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

The topic ‘Problem with foyer-admin-min.js’ is closed to new replies.