Project

General

Profile

Actions

Bug #13593

closed

Error with "jQuery Lightbox For Native Galleries" Plugin

Added by Luke Waltzer over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority name:
Normal
Assignee:
-
Category name:
WordPress Plugins
Target version:
Start date:
2020-11-18
Due date:
% Done:

0%

Estimated time:
Deployment actions:

Description

I was troubleshooting an error on the JITP Staging website and discovered that the "jQuery Lightbox For Native Galleries" plugin was causing a white screen error on all the front pages of the site. Deactivating the plugin resolved the error, and just wanted to report.

Actions #1

Updated by Luke Waltzer over 3 years ago

  • Subject changed from Error with Plugin to Error with "jQuery Lightbox For Native Galleries" Plugin
Actions #2

Updated by Boone Gorges over 3 years ago

  • Status changed from New to Resolved
  • Target version set to 1.17.8

Thanks for the report, Luke.

For clarity, the "white screen error" is not the typical "WSOD" associated with PHP fatal errors. Instead, the plugin was triggering a JavaScript error, and the current theme on jitpstaging uses JS to fade in the main content. As a result, nothing was appearing in the main content area.

At a glance, it appears that the version of Colorbox (the lightbox gallery that the plugin uses) is incompatible with some modern browser features. The Colorbox version is 1.3.14, which dates back to at least 2013. https://github.com/jackmoore/colorbox/tags?after=1.3.24

The plugin has not been updated since it was added to the Commons in 2012. See #1889. As such, I feel fine hiding it from future users. This is done in https://github.com/cuny-academic-commons/cac/commit/810418c06b5ca846af6e49774e750788fec86695 and deployed as a hotfix. I'll review the plugin for total removal as part of the ongoing project in #10380.

Actions

Also available in: Atom PDF