• Resolved davidmendesgd

    (@davidmendesgd)


    Hello, the plugin was working fine but I noticed that the gallery is not working well now.

    I noticed the data-foogallery is being written incorrectly by the plugin now. Here is a screenshot of what the inspector shows: https://i.imgur.com/HWZxcaO.png

    Any idea on how to fix it? I’ve uninstalled the plugin, deleted caches, etc. and it still has the issue.

Viewing 15 replies - 1 through 15 (of 19 total)
  • Hi @davidmendesgd,

    Are you able to provide a direct link to your website so that we can take a look at the page?

    Would you also please try fully deactivating your caching plugins and testing the site in an incognito / secure browser? We have had issues in the past with caching plugins changing html parameters without warning and causing things to break.

    If we can have a direct look at your site that would be really helpful in order to figure out what’s going on.

    Thanks in advance,

    Phill

    Thread Starter davidmendesgd

    (@davidmendesgd)

    Would you also please try fully deactivating your caching plugins and testing the site in an incognito / secure browser? We have had issues in the past with caching plugins changing html parameters without warning and causing things to break.

    I’ve tried all of those options and none seem to help.

    You can view the site here: https://www.nestapple.com/gallery

    Hi @davidmendesgd,

    Thank you for the link. Looking at your source code there is some significant CSS minification / combination going on. This may be interfering with the data-foogallery attribute.

    Would you please temporarily disable CSS minification / combination, clear any existing caches and test again to see if this is the cause?

    Thanks in advance,

    Phill

    Thread Starter davidmendesgd

    (@davidmendesgd)

    Hi, thanks for the reply. I’ve done that before and I just did it again however it did not fix anything. Any other possible solution?

    Hi @davidmendesgd,

    I can still see an active “fvm” cache in your website page source. When you deactivated the caching plugins did you check the page source to see if any caching was still activate? Did you check your theme to see if it has any built in caching?

    Do you know which plugin “fvm” relates to? Or if it’s a component of your currently installed theme?

    Thanks in advance,

    Phill

    Thread Starter davidmendesgd

    (@davidmendesgd)

    Yes I reactivated after deactivating it proved to not help. FVM stands for the Fast Velocity Minify plugin. I have disabled / purged the cache, etc. Nothing seems to affect this issue.

    Hi @davidmendesgd,

    I’m going to ask our front end expert @steveush to jump in and take a look at this for you.

    Steve – are you able to review and comment on this please?

    Plugin Author steveush

    (@steveush)

    Hi @davidmendesgd & @phillcoxon,

    Although this seems to be a front end issue it actually stems from the PHP code. However while I do not do very much PHP development if I remember right this has been caused by a couple things in the past:

    1. Themes/plugins override the default output of the esc_attr method by hooking into the attribute_escape filter and then they do not handle the JSON encoding correctly of the data-foogallery attribute.
    2. Caching/minifying plugins that store and alter the page output not correctly handling the JSON encoding of the data-foogallery attribute during minification of the page HTML.

    I’ll tag in @bradvin though as he is our PHP developer and should be able to help you out with this issue better than I can.

    Thanks
    Steve

    Thread Starter davidmendesgd

    (@davidmendesgd)

    Thanks for the responses, I appreciate it.

    Plugin Author bradvin

    (@bradvin)

    hi @davidmendesgd

    Steve was correct, when we have seen these encoding issues in the past, it has been a plugin or theme that is interfering with the way WP outputs/renders.

    Can you try to deactivate the FVM plugin and see if that solves the problem. If so, then at least we know where the conflict is and I can investigate further

    Thread Starter davidmendesgd

    (@davidmendesgd)

    Okay, I have disabled the plugin.

    Plugin Author bradvin

    (@bradvin)

    Did the gallery show correctly after you disabled the FVM plugin?

    Thread Starter davidmendesgd

    (@davidmendesgd)

    Sorry but no it is still the same.

    Plugin Author bradvin

    (@bradvin)

    I had a look at your gallery in Chrome on windows and it is showing correctly : https://www.nestapple.com/gallery/

    What is the problem you are seeing?

    Thread Starter davidmendesgd

    (@davidmendesgd)

    The pagination and other settings in the foo data dont work.

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘Customization Issue’ is closed to new replies.