• Resolved smdami

    (@smdami)


    I love this plugin, however I’ve recently run into a conflict with ACF Pro uploads (i.e. image, file) and Edistorskit 1.16. The strange thing about this is I don’t see a conflict in every instance of ACF uploads…only on certain custom post types. Through a process of elimination,, when I disable Editorskit, the problem resolves.

    load-scripts.php?c=0…embed&ver=5.2.2:345 Uncaught TypeError: Cannot read property ‘id’ of undefined
    at Object.e (load-scripts.php?c=0…embed&ver=5.2.2:345)
    at b (load-scripts.php?c=0…embed&ver=5.2.2:345)
    at Object.e (load-scripts.php?c=0…embed&ver=5.2.2:345)
    at b (load-scripts.php?c=0…embed&ver=5.2.2:345)
    at load-scripts.php?c=0…embed&ver=5.2.2:345
    at load-scripts.php?c=0…embed&ver=5.2.2:345

    Uncaught TypeError: Cannot read property ‘align’ of undefined
    at N.d.resetDisplays (media-views.min.js?ver=5.2.2:1)
    at N.d.initialize (media-views.min.js?ver=5.2.2:1)
    at N.d.b.Model (backbone.min.js?ver=1.2.3:1)
    at N.d.constructor (media-views.min.js?ver=5.2.2:1)
    at new N.d (backbone.min.js?ver=1.2.3:1)
    at n.addFrameStates (acf-input.min.js?ver=5.8.4:3)
    at n.initialize (acf-input.min.js?ver=5.8.4:3)
    at n.e (acf-input.min.js?ver=5.8.4:1)
    at n.acf.Model (acf-input.min.js?ver=5.8.4:1)
    at n [as constructor] (acf-input.min.js?ver=5.8.4:1)

    I tried rolling back to version 1.6, to no avail.

Viewing 4 replies - 1 through 4 (of 4 total)
  • @smdami Thanks for reporting this issue. Would you mind exporting the ACF field groups that you are using and add the download link here? I’ll try to replicate the issue on my end. Thanks!

    Thread Starter smdami

    (@smdami)

    Here you go Jeff…

    [
    {
    “key”: “group_5baa53fb38f0e”,
    “title”: “Resources”,
    “fields”: [
    {
    “key”: “field_5bb7ca3bc093b”,
    “label”: “Thumbnail Image”,
    “name”: “thumbnail_image”,
    “type”: “image”,
    “instructions”: “”,
    “required”: 0,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “return_format”: “url”,
    “preview_size”: “thumbnail”,
    “library”: “all”,
    “min_width”: “”,
    “min_height”: “”,
    “min_size”: “”,
    “max_width”: “”,
    “max_height”: “”,
    “max_size”: “”,
    “mime_types”: “”,
    “show_column”: 0,
    “show_column_weight”: 1000,
    “allow_quickedit”: 0,
    “allow_bulkedit”: 0
    },
    {
    “key”: “field_586298d2750a1”,
    “label”: “Resource Type”,
    “name”: “resource_type”,
    “type”: “select”,
    “instructions”: “”,
    “required”: 1,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “choices”: {
    “articles”: “Articles”,
    “ebooks”: “eBooks”,
    “infographics”: “Infographics”,
    “reports”: “Reports”,
    “videos”: “Videos”
    },
    “default_value”: [],
    “allow_null”: 0,
    “multiple”: 0,
    “ui”: 0,
    “return_format”: “value”,
    “show_column”: 0,
    “show_column_sortable”: 0,
    “show_column_weight”: 1000,
    “allow_quickedit”: 0,
    “allow_bulkedit”: 0,
    “ajax”: 0,
    “placeholder”: “”
    },
    {
    “key”: “field_589380065b8f1”,
    “label”: “Resource File”,
    “name”: “resource_file”,
    “type”: “file”,
    “instructions”: “”,
    “required”: 0,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “library”: “all”,
    “return_format”: “url”,
    “min_size”: 0,
    “max_size”: 0,
    “mime_types”: “”
    },
    {
    “key”: “field_58629961750a2”,
    “label”: “URL”,
    “name”: “url”,
    “type”: “text”,
    “instructions”: “”,
    “required”: 0,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “default_value”: “”,
    “placeholder”: “”,
    “prepend”: “”,
    “append”: “”,
    “maxlength”: “”
    },
    {
    “key”: “field_58937a3bbf8e2”,
    “label”: “Gated”,
    “name”: “gated”,
    “type”: “true_false”,
    “instructions”: “”,
    “required”: 0,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “message”: “”,
    “default_value”: 0,
    “ui”: 0,
    “ui_on_text”: “”,
    “ui_off_text”: “”
    },
    {
    “key”: “field_5ac7d06f98ba1”,
    “label”: “Hit Count”,
    “name”: “hit_count”,
    “type”: “number”,
    “instructions”: “”,
    “required”: 0,
    “conditional_logic”: 0,
    “wrapper”: {
    “width”: “”,
    “class”: “”,
    “id”: “”
    },
    “default_value”: 0,
    “placeholder”: “”,
    “prepend”: “”,
    “append”: “”,
    “min”: “”,
    “max”: “”,
    “step”: “”
    }
    ],
    “location”: [
    [
    {
    “param”: “post_type”,
    “operator”: “==”,
    “value”: “resources”
    }
    ]
    ],
    “menu_order”: 0,
    “position”: “normal”,
    “style”: “seamless”,
    “label_placement”: “top”,
    “instruction_placement”: “label”,
    “hide_on_screen”: “”,
    “active”: true,
    “description”: “”
    }
    ]

    @smdami What ACF PRO version are you using? Tried on 5.8.0 and seems like the ACF PRO plugin itself is the one having the conflict with Gutenberg. With the plugin activated the Custom Fields are not showing. Have you by any chance reported this issue to them as well? Thanks!

    Thread Starter smdami

    (@smdami)

    Sorry for the delayed response. I’m using 5.8.5. Have not had any issues with ACF Pro and Gutenberg, although I recognize things are fairly fluid with everything Gutenberg. Not a game changer either way. I’ve disabled for now.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Conflict with ACF Media Upload’ is closed to new replies.