• Resolved sagescrub

    (@sagescrub)


    Zoom/lightbox popup gallery used to work, but for some reason it is no longer working now. If I click on the image nothing happens. If I click on the magnifying glass, still nothing happens but the console this time offers an error: Uncaught TypeError: can’t access property “x”, t is undefined

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Niloy – Codeixer

    (@im_niloy)

    Hi,

    It’s possible that there could be an issue with your theme or another plugin causing a conflict. in our test it’s working with default theme.

    How to test for conflicts:

    The best way to determine if a theme and/or plugin is causing the issue is to:

    1. Temporarily switch your theme to WordPress Default theme.
    2. Try to reproduce the problem. If the problem is resolved, it’s a theme conflict. If not, continue to the next steps.
    3. Temporarily deactivate all plugins except WooCommerce.
    4. Try to reproduce the problem again. If the problem is resolved, it’s a plugin conflict. To figure out which plugin is causing the problem, continue to the next step.
    5. Reactivate your other plugins one by one, testing after each, until you find the one causing conflict.

    If it does, it’s likely a conflict with your current theme or one of the plugins.

    I hope this information is helpful to you.

    Thread Starter sagescrub

    (@sagescrub)

    Thank you so much, this was helpful. In my staging site I was able to determine our custom theme is causing the problem. After switching to storefront the zoom/popup gallery worked again.

    With all plugins disabled (except this plugin & woocommerce) and with my theme disabled I began troubleshooting. Eventually I stripped literally everything out of the theme and the problem still persists. My theme.json and functions.php is empty. I removed everything else. Still, the popup gallery does not work and the same JS error appears in the console when I click the magnifying glass.

    So now instead of wondering what is in my theme that causes the conflict, I wonder is my theme missing something essential that is required for that feature to work?

    Also, it is strange that this did not used to be an issue and I have not made changes to my theme in a long time.

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

You must be logged in to reply to this topic.