• Resolved sheilabblair

    (@sheilabblair)


    Error Details
    =============
    An error of type E_PARSE was caused in line 613 of the file /srv/htdocs/wp-content/plugins/simple-lightbox/includes/class.field_base.php. Error message: Unclosed ‘{‘ on line 612

    WordPress version 6.3
    Active theme: saga (version 1.0.0)
    Current plugin: Simple Lightbox (version 2.9.3)
    PHP version 8.0.30

    The page where the error was caught: https://sagaprints.wpcomstaging.com/wp-admin/admin-ajax.php

    Page actively using Simple Lightbox: https://sagaprints.wpcomstaging.com/collector-prints/

    Lightbox still working at all screen sizes but has issues on mobile screens.

    Lightbox styles and transitions are not working correctly on mobile screen sizes < 480px. I see that there is a max-width media query set to 480px in the CSS so I wonder what changes in the styles at that point. Basically I don’t see the same transition animations and auto-sizing on the lightbox items at that point.

    Let me know what other information I should provide. I mostly just want to keep using this plugin without breaking my site, but I would really like the styles/transitions to perform on small screens as well.

    • This topic was modified 1 year, 3 months ago by sheilabblair.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter sheilabblair

    (@sheilabblair)

    It’s possible this may have something to do with Jetpack, as that is the only plugin that I am unable to deactivate and therefore cannot fully test. I realized that activating the Jetpack Site Accelerator was breaking the image captions in Simple Lightbox, so I turned that off, and now I wonder if that was throwing the error, or if there is something else in Jetpack that is conflicting with the plugin. I’ve also turned off Lazy Loading and Tiled Galleries, both of which I’ve seen causing bugs with images on other sites.

    Plugin Author Archetyped

    (@archetyped)

    It’s possible this may have something to do with Jetpack, as that is the only plugin that I am unable to deactivate and therefore cannot fully test.

    The error may be due to stale data from the caching/CDN functionality. If you see this error after disabling all caching/CDN plugins (such as Jetpack’s Site Accelerator), then removing and reinstalling SLB is recommended.

    Make sure to clear site and browser caches after installing/activating/deactivating plugins to ensure the current code is being loaded.

    Some CDN plugins modify link URLs in a way that breaks the link between the image links and your site’s media library. Such CDN plugins may be supported via an extension. You can vote/submit feedback for a CDN plugin you would like to see an extension for on SLB’s official forum.

    Lightbox styles and transitions are not working correctly on mobile screen sizes < 480px.

    Styles appear to be applied correctly to the lightbox on mobile devices at the link you provided. Please post a screenshot and additional details (description of missing styles, device, browser version, etc.) if you are still experiencing issues with lightbox styles.

    Some animations are disabled in the default lightbox themes as they are designed to fill the screen on small devices.

    See SLB’s Theme’s documentation for details on customizing the lightbox theme for your site.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WordPress caught an error with Simple Lightbox’ is closed to new replies.