Lightbox with PhotoSwipe 2.80

Does Lightbox with PhotoSwipe work with WordPress 5.4 and PHP 7.2.16? A smoke test was performed on .

Summary

Errors
3Database errors
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 58.53 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version5.4
PHP version7.2.16
MySQL version8.0.15
PHP memory limit256M
Plugin Info
Last updated
Active installs 10,000+
WordPress.org page https://wordpress.org/plugins/lightbox-photoswipe/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=lightbox-photoswipe%2Flightbox-photoswipe.php&plugin_status=all&paged=1&s&_wpnonce=d74d090c55
Aspect after-activation
HTTP status 200
Load time 0.614 s
Memory usage 3.81 MiB
JS errors None
Resource errors None

Settings → Lightbox with PhotoSwipe

Page screenshot: Settings → Lightbox with PhotoSwipe
URL /wp-admin/options-general.php?page=lightbox-photoswipe
Aspect menu-item
HTTP status 200
Load time 0.151 s
Memory usage 3.59 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.361 s
Memory usage 3.42 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.297 s0.245 s-0.052 s3.64 MiB3.69 MiB+ 50.13 KiB
/wp-admin/edit.php0.220 s0.217 s-0.003 s3.66 MiB3.71 MiB+ 50.13 KiB
/wp-admin/post-new.php1.234 s1.606 s+0.372 s5.43 MiB5.48 MiB+ 49.58 KiB
/wp-admin/upload.php0.438 s0.446 s+0.008 s3.5 MiB3.61 MiB+ 113 KiB
/wp-admin/options-writing.php0.189 s0.179 s-0.010 s3.58 MiB3.6 MiB+ 19.56 KiB
/wp-admin/media-new.php0.216 s0.205 s-0.011 s3.48 MiB3.59 MiB+ 113.17 KiB
/wp-admin/edit-tags.php?taxonomy=category0.319 s0.173 s-0.146 s3.58 MiB3.63 MiB+ 50.08 KiB
/wp-admin/post-new.php?post_type=page1.227 s1.132 s-0.095 s5.42 MiB5.47 MiB+ 49.5 KiB
/wp-admin/options-discussion.php0.305 s0.219 s-0.086 s3.48 MiB3.59 MiB+ 113.48 KiB
/wp-admin/edit-comments.php0.203 s0.205 s+0.002 s3.59 MiB3.64 MiB+ 48.98 KiB
/0.375 s0.345 s-0.030 s3.43 MiB3.42 MiB- 13.74 KiB
Average 0.457 s0.452 s-0.005 s3.89 MiB3.95 MiB+ 58.53 KiB

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

Options wp_options 28

PHP Error Log 48 lines

[13-Apr-2020 00:12:54 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varchr(255),
          PRIMARY KEY (imgkey),
          INDEX idx_created (crea' at line 11 for query CREATE TABLE wp_lightbox_photoswipe_img (
          imgkey char(64) DEFAULT '' NOT NULL,
          created datetime,
          width mediumint(7),
          height mediumint(7),
          exif_camera varchar(255),
          exif_focal varchar(255),
          exif_fstop varchar(255),
          exif_shutter varchar(255),
          exif_iso varchar(255),
          exif_datetime varchr(255),
          PRIMARY KEY (imgkey),
          INDEX idx_created (created)
        ) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci; made by require_once('wp-admin/admin.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('plugins_loaded'), WP_Hook->do_action, WP_Hook->apply_filters, LightboxPhotoSwipe->init, LightboxPhotoSwipe->createTables
[13-Apr-2020 00:12:54 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varchr(255),
          PRIMARY KEY (imgkey),
          INDEX idx_created (crea' at line 11 for query CREATE TABLE wp_lightbox_photoswipe_img (
          imgkey char(64) DEFAULT '' NOT NULL,
          created datetime,
          width mediumint(7),
          height mediumint(7),
          exif_camera varchar(255),
          exif_focal varchar(255),
          exif_fstop varchar(255),
          exif_shutter varchar(255),
          exif_iso varchar(255),
          exif_datetime varchr(255),
          PRIMARY KEY (imgkey),
          INDEX idx_created (created)
        ) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci; made by require_once('wp-admin/admin.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('plugins_loaded'), WP_Hook->do_action, WP_Hook->apply_filters, LightboxPhotoSwipe->init, LightboxPhotoSwipe->createTables
[13-Apr-2020 00:12:54 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varchr(255),
          PRIMARY KEY (imgkey),
          INDEX idx_created (crea' at line 11 for query CREATE TABLE wp_lightbox_photoswipe_img (
          imgkey char(64) DEFAULT '' NOT NULL,
          created datetime,
          width mediumint(7),
          height mediumint(7),
          exif_camera varchar(255),
          exif_focal varchar(255),
          exif_fstop varchar(255),
          exif_shutter varchar(255),
          exif_iso varchar(255),
          exif_datetime varchr(255),
          PRIMARY KEY (imgkey),
          INDEX idx_created (created)
        ) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci; made by require_once('wp-admin/admin.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('plugins_loaded'), WP_Hook->do_action, WP_Hook->apply_filters, LightboxPhotoSwipe->init, LightboxPhotoSwipe->createTables
See also: All tests for this plugin, How to Hide Lightbox with PhotoSwipe Admin Menus and Meta Boxes