• Resolved revivedgoat2044

    (@revivedgoat2044)


    I am having issues getting my icons to show up on the site after updating to 4.0.15.

    I currently have 4.0.13 installed and the icons are displaying properly on the site. When I update to 4.0.15 the icons disappear and the backend shows a “JSON file didn’t exist. Please use the correct file path.”

    We were using a custom path of assets/icons/admin-icomoon/selection.json

    I then tried moving all of the font files and selection.json into the default path and leaving the path field as empty but that still did not work

    I also tried regenerating selection.json but that also did not work.

    Any ideas why this is happening on this version?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor daomapsieucap

    (@daomapsieucap)

    Hi @revivedgoat2044 ,

    To reproduce the issue, could I ask for the full path of assets/icons/admin-icomoon/selection.json that you’re using? Just because with v4.0.15, we improved the path setting to fill in the full path automatically with your active theme. I think this code may have issue with some specific path.

    Thread Starter revivedgoat2044

    (@revivedgoat2044)

    Hi @daomapsieucap,

    The full path on our server is: /home/wwwmar10/public_html/wp-content/themes/[our-theme]/assets/icons/admin-icomoon/selection.json

    I have tried entering the path all the way back to wp-content/themes/… but this still did not work for me.

    Thread Starter revivedgoat2044

    (@revivedgoat2044)

    Hey @daomapsieucap!

    Do you need any additional information from me?

    Plugin Contributor daomapsieucap

    (@daomapsieucap)

    Hi @revivedgoat2044

    Thanks for sharing the full path. I tested this quickly on my local site but couldn’t reproduce the issue, so I’d like to ask for more details.

    1 – Could you provide a link to the site where the icon is missing so I can check the source code? If it appears on the frontend, it might be the plugin trying to load the default Icomoon set from the plugin itself.

    2 – When the ACF setting Selection.json is empty, the default path is assets/fonts/selection.json. Could you try copying the selection.json file to that path to see if it works?

    3 – Also, could you try entering the full path /home/wwwmar10/public_html/wp-content/themes/[our-theme]/assets/icons/admin-icomoon/selection.json in ACF Selection.json to see if that works?

    Thread Starter revivedgoat2044

    (@revivedgoat2044)

    Hi @daomapsieucap

    1. Site: https://marvinsgaragedoors.com/ Example: https://tinyurl.com/2d2vs6rs
    2. I have already had the selection.json file copied in both locations since I was initially trying to troubleshoot this issue:
    3. I have also tried pasting in the full path and I tried using the health check and troubleshooting plugin to see if there was a conflict but did not have any success.
    Plugin Contributor daomapsieucap

    (@daomapsieucap)

    Hi @revivedgoat2044 ,

    Thanks for sharing the site URL. I can see that the icons are missing on your site, but unfortunately I can’t reproduce this bug on mine. I even downloaded your JSON file and tested it, and everything worked properly.

    Could you provide a screenshot or screen recording of:

    1. The Admin JSON selection path setting
    2. The backend of the icon field where the icons disappear

    It would also help to check the following:

    1. Try using the full path (for example: /home/wwwmar10/public_html/wp-content/themes/marvin-garage-doors/assets/icons/admin-icomoon/selection.json or wp-content/themes/marvin-garage-doors/assets/icons/admin-icomoon/selection.json) and see if it works (could you also provide the screenshots of these setting?)
    2. Try using just the filename selection.json and see if it works
    3. Checking the code of where column-text-icon-image class to see if it’s using the correct field.

    Looking forward to receiving the detailed information from you so we can identify the issue. Thanks.

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

You must be logged in to reply to this topic.