NextGEN Gallery 4.2.1

Does NextGEN Gallery work with WordPress 7.0 and PHP 8.1.12? A smoke test was performed on .

Summary

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

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

Page speed impact: 0.770 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version7.0
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 400,000+
WordPress.org page https://wordpress.org/plugins/nextgen-gallery/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 10

Imagely › Onboarding Wizard

Page screenshot: Imagely › Onboarding Wizard
URL /wp-admin/index.php?page=nextgen-gallery-setup-wizard
Requested URL /wp-admin/plugins.php?action=activate&plugin=nextgen-gallery%2Fnggallery.php&plugin_status=all&paged=1&s&_wpnonce=81c6fa5d0d
Aspect after-activation
HTTP status 200
Load time 1.408 s
Memory usage 8.24 MiB
JS errors None
Resource errors None

Imagely

Page screenshot: Imagely
URL /wp-admin/admin.php?page=imagely
Aspect menu-item
HTTP status 200
Load time 1.511 s
Memory usage 4.91 MiB
JS errors
[
    {
        "message": "SyntaxError: Unexpected token 'function'",
        "trace": null,
        "code": null
    }
]
Resource errors None

Imagely → Add New Gallery

Page screenshot: Imagely → Add New Gallery
URL /wp-admin/admin.php?page=imagely
Requested URL /wp-admin/admin.php?page=imagely&create_gallery=1
Aspect menu-item
HTTP status 200
Load time 0.964 s
Memory usage 4.91 MiB
JS errors
[
    {
        "message": "SyntaxError: Unexpected token 'function'",
        "trace": null,
        "code": null
    }
]
Resource errors None

Imagely → Albums

Page screenshot: Imagely → Albums
URL /wp-admin/admin.php?page=imagely-albums
Aspect menu-item
HTTP status 200
Load time 0.855 s
Memory usage 4.91 MiB
JS errors
[
    {
        "message": "SyntaxError: Unexpected token 'function'",
        "trace": null,
        "code": null
    }
]
Resource errors None

Imagely → Tags

Page screenshot: Imagely → Tags
URL /wp-admin/admin.php?page=imagely-tags
Aspect menu-item
HTTP status 200
Load time 0.822 s
Memory usage 4.91 MiB
JS errors
[
    {
        "message": "SyntaxError: Unexpected token 'function'",
        "trace": null,
        "code": null
    }
]
Resource errors None

Imagely → Features

Page screenshot: Imagely → Features
URL /wp-admin/admin.php?page=imagely-addons
Aspect menu-item
HTTP status 200
Load time 0.800 s
Memory usage 4.91 MiB
JS errors
[
    {
        "message": "SyntaxError: Unexpected token 'function'",
        "trace": null,
        "code": null
    }
]
Resource errors None

Imagely → Settings

Page screenshot: Imagely → Settings
URL /wp-admin/admin.php?page=imagely-settings
Aspect menu-item
HTTP status 200
Load time 0.735 s
Memory usage 4.91 MiB
JS errors
[
    {
        "message": "SyntaxError: Unexpected token 'function'",
        "trace": null,
        "code": null
    }
]
Resource errors None

Imagely → About Us

Page screenshot: Imagely → About Us
URL /wp-admin/admin.php?page=imagely-about-us
Aspect menu-item
HTTP status 200
Load time 0.934 s
Memory usage 4.91 MiB
JS errors
[
    {
        "message": "SyntaxError: Unexpected token 'function'",
        "trace": null,
        "code": null
    }
]
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.251 s
Memory usage 4.7 MiB
JS errors None
Resource errors None

Widgets ‹ Test site — WordPress

Page screenshot: Widgets ‹ Test site — WordPress
URL /wp-admin/widgets.php
Aspect new-sidebar-widgets
HTTP status 200
Load time 2.388 s
Memory usage 7.59 MiB
JS errors
[
    {
        "message": "SyntaxError: Unexpected token 'function'",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.667 s1.652 s+0.985 s3.93 MiB4.94 MiB+ 1.01 MiB
/wp-admin/edit.php0.546 s1.120 s+0.574 s3.98 MiB4.96 MiB+ 1002.56 KiB
/wp-admin/post-new.php2.084 s2.896 s+0.812 s6.56 MiB7.89 MiB+ 1.33 MiB
/wp-admin/upload.php0.718 s1.711 s+0.993 s3.89 MiB4.95 MiB+ 1.06 MiB
/wp-admin/options-writing.php0.551 s0.947 s+0.396 s3.86 MiB4.84 MiB+ 996.55 KiB
/wp-admin/media-new.php0.593 s1.605 s+1.012 s3.85 MiB4.83 MiB+ 995.9 KiB
/wp-admin/edit-tags.php?taxonomy=category0.615 s1.175 s+0.560 s3.86 MiB4.87 MiB+ 1.01 MiB
/wp-admin/post-new.php?post_type=page1.743 s4.049 s+2.306 s6.55 MiB7.87 MiB+ 1.32 MiB
/wp-admin/options-discussion.php0.618 s1.114 s+0.496 s3.86 MiB4.85 MiB+ 1006.76 KiB
/wp-admin/edit-comments.php0.533 s0.865 s+0.332 s3.89 MiB4.88 MiB+ 1022.77 KiB
/0.304 s0.306 s+0.002 s4.23 MiB4.69 MiB+ 471.95 KiB
Average 0.816 s1.585 s+0.770 s4.41 MiB5.41 MiB+ 1.01 MiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PHP
JavaScript
CSS
Language % Lines of code Comment lines Files
PHP49.2%66,44034,261391
JavaScript21.6%29,1932,794193
CSS13.7%18,54450376
SVG7.3%9,875027
PO File5.9%8,0237,2299
Sass1.7%2,33458
Markdown0.3%34202
LESS0.1%15251
JSON0.1%8703
Ruby0.0%801
XML0.0%501
Total 135,003 44,797 712

PHP Code Analysis | More results »

Lines of code 59,634
Total complexity 12,818
Median class complexity 12.0
Median method complexity 2.0
Most complex class lsolesen\pel\PelEntrySShort
Most complex function lsolesen\pel\PelEntrySShort::getText()
Classes 358
Methods 2,853
Functions 35

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.

Database Tables 3

Options wp_options 8

Custom Post Types 6

ID Name
ngg_albumNextGEN Gallery - Album
ngg_galleryNextGEN Gallery - Gallery
ngg_picturesNextGEN Gallery - Image
displayed_galleryNextGEN Gallery - Displayed Gallery
display_typeNextGEN Gallery - Display Type
gal_display_sourceNextGEN Gallery - Displayed Gallery Source

Sidebar Widgets 3

ID Name
ngg-imagesNextGEN Widget
slideshowNextGEN Slideshow
ngg-mrsswNextGEN Media RSS

Capabilities 10

PHP Error Log 8 lines

[20-May-2026 20:06:53 UTC] WordPress database error Table 'wordpress.wp_ngg_gallery' doesn't exist for query SHOW COLUMNS FROM `wp_ngg_gallery` made by activate_plugin, plugin_sandbox_scrape, include_once('/plugins/nextgen-gallery/nggallery.php'), C_NextGEN_Bootstrap->__construct, Imagely\NGG\Migrations\AddGalleryDates::migrate
[20-May-2026 20:06:53 UTC] WordPress database error Table 'wordpress.wp_ngg_gallery' doesn't exist for query ALTER TABLE `wp_ngg_gallery` ADD COLUMN `date_created` DATETIME made by activate_plugin, plugin_sandbox_scrape, include_once('/plugins/nextgen-gallery/nggallery.php'), C_NextGEN_Bootstrap->__construct, Imagely\NGG\Migrations\AddGalleryDates::migrate
[20-May-2026 20:06:53 UTC] WordPress database error Table 'wordpress.wp_ngg_gallery' doesn't exist for query ALTER TABLE `wp_ngg_gallery` ADD COLUMN `date_modified` DATETIME made by activate_plugin, plugin_sandbox_scrape, include_once('/plugins/nextgen-gallery/nggallery.php'), C_NextGEN_Bootstrap->__construct, Imagely\NGG\Migrations\AddGalleryDates::migrate
[20-May-2026 20:06:53 UTC] WordPress database error Table 'wordpress.wp_ngg_album' doesn't exist for query SHOW COLUMNS FROM `wp_ngg_album` made by activate_plugin, plugin_sandbox_scrape, include_once('/plugins/nextgen-gallery/nggallery.php'), C_NextGEN_Bootstrap->__construct, Imagely\NGG\Migrations\AddGalleryDates::migrate
[20-May-2026 20:06:53 UTC] WordPress database error Table 'wordpress.wp_ngg_album' doesn't exist for query ALTER TABLE `wp_ngg_album` ADD COLUMN `date_created` DATETIME made by activate_plugin, plugin_sandbox_scrape, include_once('/plugins/nextgen-gallery/nggallery.php'), C_NextGEN_Bootstrap->__construct, Imagely\NGG\Migrations\AddGalleryDates::migrate
[20-May-2026 20:06:53 UTC] WordPress database error Table 'wordpress.wp_ngg_album' doesn't exist for query ALTER TABLE `wp_ngg_album` ADD COLUMN `date_modified` DATETIME made by activate_plugin, plugin_sandbox_scrape, include_once('/plugins/nextgen-gallery/nggallery.php'), C_NextGEN_Bootstrap->__construct, Imagely\NGG\Migrations\AddGalleryDates::migrate
[20-May-2026 20:06:53 UTC] WordPress database error Table 'wordpress.wp_ngg_gallery' doesn't exist for query UPDATE `wp_ngg_gallery` g INNER JOIN `wp_posts` p ON p.ID = g.extras_post_id SET g.date_created = CASE WHEN p.post_modified_gmt = "0000-00-00 00:00:00" THEN p.post_modified ELSE p.post_modified_gmt END, g.date_modified = CASE WHEN p.post_modified_gmt = "0000-00-00 00:00:00" THEN p.post_modified ELSE p.post_modified_gmt END made by activate_plugin, plugin_sandbox_scrape, include_once('/plugins/nextgen-gallery/nggallery.php'), C_NextGEN_Bootstrap->__construct, Imagely\NGG\Migrations\AddGalleryDates::migrate
[20-May-2026 20:06:53 UTC] WordPress database error Table 'wordpress.wp_ngg_album' doesn't exist for query UPDATE `wp_ngg_album` a INNER JOIN `wp_posts` p ON p.ID = a.extras_post_id SET a.date_created = CASE WHEN p.post_modified_gmt = "0000-00-00 00:00:00" THEN p.post_modified ELSE p.post_modified_gmt END, a.date_modified = CASE WHEN p.post_modified_gmt = "0000-00-00 00:00:00" THEN p.post_modified ELSE p.post_modified_gmt END made by activate_plugin, plugin_sandbox_scrape, include_once('/plugins/nextgen-gallery/nggallery.php'), C_NextGEN_Bootstrap->__construct, Imagely\NGG\Migrations\AddGalleryDates::migrate
See also: All tests for this plugin, How to Hide NextGEN Gallery Admin Menus