Support » Plugin: ACF Photo Gallery Field » Edit Images

  • Resolved therroncjones


    When a user clicks the edit (pencil) icon nothing happens. I think this is because the data-field is undefined. Will there be a fix for this bug?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Navneil Naicker


    Hi @therroncjones
    Please provide more information in order for me to reproduce the issue and find the bug.

    1. What version of ACF are you using?
    2. What version of ACF Photo Gallery Fields are you using?
    3. What’s your current WordPress version?
    4. What other plugins do you have installed?
    5. Are you using this on a theme?
    6. What operating system are you using and which internet browser along with the version?

    1. 5.7.7
    2. 1.6.3
    3. 4.9.8
    4. Elementor Pro
    5. Twentyseventeen
    6. macOS Mojave / Chrome Version 70.0.3538.77 (Official Build) (64-bit)

    Plugin Author Navneil Naicker


    I was not able to reproduce the issue you are facing.

    1. Give the error message you see on Google Developer Tool under Console Log
    2. Disable all other plugins (If you haven’t done so yet) apart from ACF and ACF Photo Gallery Field
    3. Did you face the same issue on Firefox or Safari?

    1. No error messages in the Chrome Dev Tools
    2. Disabled plugins except ACF and ACF Photo Gallery Field and I’m still not able to edit.
    3 The same issue appears on Firefox, Safari and Chrome.

    I think the issue is here on line ~153 var field = $btn.attr(‘data-field’);

    1) Advanced Custom Fields v=5.7.9
    2) ACF Photo Gallery Field v=1.6.3
    3) WordPress v=5.0.2
    4) [
    ACF Photo Gallery Field
    Advanced Custom Fields
    All In One SEO Pack
    Duplicator (not activated)
    Google XML Sitemaps (not activated)
    Post Category Filter
    User Access Manager
    Webcraftic Clearfy
    Webcraftic Robin image optimizer
    Webcraftic Hide Login Page
    5) No
    6) Windows 7 Версия Google Chrome 71.0.3578.98 (Официальная сборка), (64 бит) and Firefix Version 64.0 (64 bit)

    DevTools error:
    Uncaught SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at Function.n.parseJSON (load-scripts.php:4)
    at Function.a.parseJSON (load-scripts.php:9)
    at acf_photo_gallery_remove_media (acf-photo-gallery-field.js:12)
    at HTMLAnchorElement.<anonymous> (acf-photo-gallery-field.js:109)
    at HTMLDocument.dispatch (load-scripts.php:3)
    at HTMLDocument.r.handle (load-scripts.php:3)

    View problem:

    Plugin Author Navneil Naicker


    Hi, Download the development copy of ACF Photo Gallery (1.6.4) from Github and replace the content of the folder in your plugins folder.

    HiThanks! But I have now console error:

    load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-resizable&ver=5.0.3:formatted:565 Uncaught Error: Syntax error, unrecognized expression: .acf-photo-gallery-group-{ .acf-photo-gallery-mediabox-522
        at Function.fa.error (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-resizable&ver=5.0.3:formatted:565)
        at fa.tokenize (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-resizable&ver=5.0.3:formatted:893)
        at (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-resizable&ver=5.0.3:formatted:1063)
        at Function.fa (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-resizable&ver=5.0.3:formatted:334)
        at Function.a.find (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-resizable&ver=5.0.3:formatted:4637)
        at n.fn.init.find (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-resizable&ver=5.0.3:formatted:1182)
        at n.fn.init.a.fn.find (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-resizable&ver=5.0.3:formatted:4849)
        at a.fn.init.n.fn.init (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-resizable&ver=5.0.3:formatted:1205)
        at new a.fn.init (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-resizable&ver=5.0.3:formatted:4612)
        at n (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-resizable&ver=5.0.3:formatted:22)


    • This reply was modified 1 year, 9 months ago by login2030.
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Edit Images’ is closed to new replies.