Photo Gallery 1.8.20

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

Summary

Errors
1PHP notices
92PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 495.31 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 version6.4.3
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 200,000+
WordPress.org page https://wordpress.org/plugins/photo-gallery/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 11

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=photo-gallery%2Fphoto-gallery.php&plugin_status=all&paged=1&s&_wpnonce=14087bcbd0
Aspect after-activation
HTTP status 200
Load time 0.524 s
Memory usage 3.99 MiB
JS errors None
Resource errors None

Photo Gallery

Page screenshot: Photo Gallery
URL /wp-admin/admin.php?page=galleries_bwg
Aspect menu-item
HTTP status 200
Load time 0.467 s
Memory usage 4.76 MiB
JS errors None
Resource errors None

Photo Gallery → Speed & Image Optimization

Page screenshot: Photo Gallery → Speed & Image Optimization
URL /wp-admin/admin.php?page=twbbwg_photo-gallery
Aspect menu-item
HTTP status 200
Load time 0.404 s
Memory usage 4.1 MiB
JS errors None
Resource errors None

Photo Gallery → Cloudflare CDN

Page screenshot: Photo Gallery → Cloudflare CDN
URL /wp-admin/admin.php?page=cloudflare_bwg
Aspect menu-item
HTTP status 200
Load time 0.273 s
Memory usage 3.83 MiB
JS errors None
Resource errors None

Photo Gallery → Gallery Groups

Page screenshot: Photo Gallery → Gallery Groups
URL /wp-admin/admin.php?page=albums_bwg
Aspect menu-item
HTTP status 200
Load time 0.312 s
Memory usage 4.02 MiB
JS errors None
Resource errors None

Photo Gallery → Tags

Page screenshot: Photo Gallery → Tags
URL /wp-admin/edit-tags.php?taxonomy=bwg_tag
Aspect menu-item
HTTP status 200
Load time 0.207 s
Memory usage 3.8 MiB
JS errors None
Resource errors None

Photo Gallery → Global Settings

Page screenshot: Photo Gallery → Global Settings
URL /wp-admin/admin.php?page=options_bwg
Aspect menu-item
HTTP status 200
Load time 1.170 s
Memory usage 6.1 MiB
JS errors None
Resource errors None

Photo Gallery → Themes

Page screenshot: Photo Gallery → Themes
URL /wp-admin/admin.php?page=themes_bwg
Aspect menu-item
HTTP status 200
Load time 0.316 s
Memory usage 5.56 MiB
JS errors None
Resource errors None

Photo Gallery → Add-ons

Page screenshot: Photo Gallery → Add-ons
URL /wp-admin/admin.php?page=addons_bwg
Aspect menu-item
HTTP status 200
Load time 0.259 s
Memory usage 3.81 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.385 s
Memory usage 3.65 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.404 s
Memory usage 5.97 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.337 s0.396 s+0.059 s3.38 MiB3.89 MiB+ 525.08 KiB
/wp-admin/edit.php0.216 s0.280 s+0.064 s3.41 MiB3.99 MiB+ 602.14 KiB
/wp-admin/post-new.php0.901 s0.640 s-0.261 s5.46 MiB5.93 MiB+ 483.2 KiB
/wp-admin/upload.php0.657 s0.288 s-0.369 s3.32 MiB3.85 MiB+ 542.22 KiB
/wp-admin/options-writing.php0.219 s0.433 s+0.214 s3.32 MiB3.79 MiB+ 486.22 KiB
/wp-admin/media-new.php0.296 s0.191 s-0.105 s3.3 MiB3.78 MiB+ 497.5 KiB
/wp-admin/edit-tags.php?taxonomy=category0.215 s0.216 s+0.001 s3.31 MiB3.83 MiB+ 530.16 KiB
/wp-admin/post-new.php?post_type=page0.596 s0.571 s-0.025 s5.45 MiB5.92 MiB+ 478.78 KiB
/wp-admin/options-discussion.php0.302 s0.267 s-0.035 s3.3 MiB3.79 MiB+ 496 KiB
/wp-admin/edit-comments.php0.257 s0.246 s-0.011 s3.34 MiB3.83 MiB+ 507.67 KiB
/0.274 s0.329 s+0.055 s3.36 MiB3.65 MiB+ 299.41 KiB
Average 0.388 s0.351 s-0.038 s3.72 MiB4.21 MiB+ 495.31 KiB

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.

PO File
PHP
JavaScript
Language % Lines of code Comment lines Files
PO File67.1%154,369109,28151
PHP17.0%39,0103,775103
JavaScript8.2%18,8972,63424
CSS6.4%14,73726427
SVG0.7%1,7112153
Sass0.5%1,04901
Markdown0.0%9301
HTML0.0%2403
JSON0.0%501
INI0.0%201
Total 229,897 115,956 365

PHP Code Analysis | More results »

Lines of code 39,119
Total complexity 6,092
Median class complexity 28.0
Median method complexity 3.0
Most complex class OptionsView_bwg
Most complex function ThemesView_bwg::edit_body()
Classes 95
Methods 679
Functions 10

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 10

Options wp_options 6

User Metadata wp_usermeta 1

Custom Post Types 4

ID Name
bwg_galleryGalleries
bwg_albumAlbums
bwg_tagGallery tags
bwg_shareGallery Share

Sidebar Widgets 2

ID Name
bwp_galleryPhoto Gallery Widget
bwp_gallery_slideshowPhoto Gallery Slideshow

PHP Error Log 93 lines

[30-Jan-2024 22:55:01 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[30-Jan-2024 22:55:01 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[30-Jan-2024 22:55:01 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[30-Jan-2024 22:55:01 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[30-Jan-2024 22:55:02 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[30-Jan-2024 22:55:02 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[30-Jan-2024 22:55:02 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[30-Jan-2024 22:55:02 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[30-Jan-2024 22:55:02 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[30-Jan-2024 22:55:02 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[30-Jan-2024 22:55:02 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[30-Jan-2024 22:55:02 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[30-Jan-2024 22:55:03 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[30-Jan-2024 22:55:03 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[30-Jan-2024 22:55:03 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[30-Jan-2024 22:55:03 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[30-Jan-2024 22:55:04 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[30-Jan-2024 22:55:04 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[30-Jan-2024 22:55:04 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[30-Jan-2024 22:55:04 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[30-Jan-2024 22:55:05 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[30-Jan-2024 22:55:05 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[30-Jan-2024 22:55:05 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[30-Jan-2024 22:55:05 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[30-Jan-2024 22:55:06 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[30-Jan-2024 22:55:06 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[30-Jan-2024 22:55:06 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[30-Jan-2024 22:55:06 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[30-Jan-2024 22:55:07 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[30-Jan-2024 22:55:07 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[30-Jan-2024 22:55:07 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[30-Jan-2024 22:55:07 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[30-Jan-2024 22:55:09 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[30-Jan-2024 22:55:09 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[30-Jan-2024 22:55:09 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[30-Jan-2024 22:55:09 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[30-Jan-2024 22:55:10 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[30-Jan-2024 22:55:10 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[30-Jan-2024 22:55:10 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[30-Jan-2024 22:55:10 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[30-Jan-2024 22:55:12 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[30-Jan-2024 22:55:12 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[30-Jan-2024 22:55:12 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[30-Jan-2024 22:55:12 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[30-Jan-2024 22:55:12 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[30-Jan-2024 22:55:12 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[30-Jan-2024 22:55:12 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[30-Jan-2024 22:55:12 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[30-Jan-2024 22:55:13 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[30-Jan-2024 22:55:13 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[30-Jan-2024 22:55:13 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[30-Jan-2024 22:55:13 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[30-Jan-2024 22:55:16 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[30-Jan-2024 22:55:16 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[30-Jan-2024 22:55:16 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[30-Jan-2024 22:55:16 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[30-Jan-2024 22:55:16 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[30-Jan-2024 22:55:16 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[30-Jan-2024 22:55:16 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[30-Jan-2024 22:55:16 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[30-Jan-2024 22:55:16 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[30-Jan-2024 22:55:16 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[30-Jan-2024 22:55:16 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[30-Jan-2024 22:55:16 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[30-Jan-2024 22:55:17 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[30-Jan-2024 22:55:17 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[30-Jan-2024 22:55:17 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[30-Jan-2024 22:55:17 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[30-Jan-2024 22:55:17 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[30-Jan-2024 22:55:17 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[30-Jan-2024 22:55:17 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[30-Jan-2024 22:55:17 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[30-Jan-2024 22:55:20 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[30-Jan-2024 22:55:20 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[30-Jan-2024 22:55:20 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[30-Jan-2024 22:55:20 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[30-Jan-2024 22:55:20 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[30-Jan-2024 22:55:20 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[30-Jan-2024 22:55:20 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[30-Jan-2024 22:55:20 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[30-Jan-2024 22:55:20 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[30-Jan-2024 22:55:20 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[30-Jan-2024 22:55:20 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[30-Jan-2024 22:55:20 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[30-Jan-2024 22:55:21 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[30-Jan-2024 22:55:21 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[30-Jan-2024 22:55:21 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[30-Jan-2024 22:55:21 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[30-Jan-2024 22:55:21 UTC] PHP Notice:  Function wp_enqueue_script() was called incorrectly. "wp-editor" script should not be enqueued together with the new widgets editor (wp-edit-widgets or wp-customize-widgets). Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 5.8.0.) in /wp-includes/functions.php on line 6031
[30-Jan-2024 22:55:27 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[30-Jan-2024 22:55:27 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[30-Jan-2024 22:55:27 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[30-Jan-2024 22:55:27 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
See also: All tests for this plugin, How to Hide Photo Gallery Admin Menus