Photo Gallery 1.8.19

Does Photo Gallery work with WordPress 6.4.2 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.2
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=947123dff8
Aspect after-activation
HTTP status 200
Load time 0.591 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.535 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.423 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.343 s
Memory usage 3.82 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.358 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.238 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 0.989 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.533 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.266 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.413 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 3.160 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.430 s0.466 s+0.036 s3.38 MiB3.89 MiB+ 525.08 KiB
/wp-admin/edit.php0.272 s0.306 s+0.034 s3.41 MiB3.99 MiB+ 602.14 KiB
/wp-admin/post-new.php1.044 s0.722 s-0.322 s5.46 MiB5.93 MiB+ 483.2 KiB
/wp-admin/upload.php0.633 s0.322 s-0.311 s3.32 MiB3.85 MiB+ 542.22 KiB
/wp-admin/options-writing.php0.255 s0.224 s-0.031 s3.32 MiB3.79 MiB+ 486.22 KiB
/wp-admin/media-new.php0.339 s0.357 s+0.018 s3.29 MiB3.78 MiB+ 497.5 KiB
/wp-admin/edit-tags.php?taxonomy=category0.233 s0.234 s+0.001 s3.31 MiB3.83 MiB+ 530.16 KiB
/wp-admin/post-new.php?post_type=page0.640 s1.015 s+0.375 s5.45 MiB5.92 MiB+ 478.78 KiB
/wp-admin/options-discussion.php0.349 s0.290 s-0.059 s3.3 MiB3.79 MiB+ 495.99 KiB
/wp-admin/edit-comments.php0.269 s0.266 s-0.003 s3.34 MiB3.83 MiB+ 507.67 KiB
/0.320 s0.381 s+0.061 s3.36 MiB3.65 MiB+ 299.41 KiB
Average 0.435 s0.417 s-0.018 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.2%154,369109,28151
PHP17.0%38,9993,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,886 115,956 365

PHP Code Analysis | More results »

Lines of code 39,108
Total complexity 6,088
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

[21-Dec-2023 15:20:16 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[21-Dec-2023 15:20: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
[21-Dec-2023 15:20:16 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[21-Dec-2023 15:20: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
[21-Dec-2023 15:20:17 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[21-Dec-2023 15:20: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
[21-Dec-2023 15:20:17 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[21-Dec-2023 15:20: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
[21-Dec-2023 15:20:18 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[21-Dec-2023 15:20:18 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
[21-Dec-2023 15:20:18 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[21-Dec-2023 15:20:18 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
[21-Dec-2023 15:20:19 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[21-Dec-2023 15:20:19 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
[21-Dec-2023 15:20:19 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[21-Dec-2023 15:20:19 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
[21-Dec-2023 15:20:20 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[21-Dec-2023 15:20: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
[21-Dec-2023 15:20:20 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[21-Dec-2023 15:20: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
[21-Dec-2023 15:20:21 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[21-Dec-2023 15:20: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
[21-Dec-2023 15:20:21 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[21-Dec-2023 15:20: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
[21-Dec-2023 15:20:22 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[21-Dec-2023 15:20:22 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
[21-Dec-2023 15:20:22 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[21-Dec-2023 15:20:22 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
[21-Dec-2023 15:20:23 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[21-Dec-2023 15:20:23 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
[21-Dec-2023 15:20:23 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[21-Dec-2023 15:20:23 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
[21-Dec-2023 15:20:25 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[21-Dec-2023 15:20:25 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
[21-Dec-2023 15:20:25 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[21-Dec-2023 15:20:25 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
[21-Dec-2023 15:20:26 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[21-Dec-2023 15:20:26 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
[21-Dec-2023 15:20:26 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[21-Dec-2023 15:20:26 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
[21-Dec-2023 15:20:28 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[21-Dec-2023 15:20:28 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
[21-Dec-2023 15:20:28 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[21-Dec-2023 15:20:28 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
[21-Dec-2023 15:20:29 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[21-Dec-2023 15:20:29 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
[21-Dec-2023 15:20:29 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[21-Dec-2023 15:20:29 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
[21-Dec-2023 15:20:29 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[21-Dec-2023 15:20:29 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
[21-Dec-2023 15:20:29 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[21-Dec-2023 15:20:29 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
[21-Dec-2023 15:20:32 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[21-Dec-2023 15:20:32 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
[21-Dec-2023 15:20:32 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[21-Dec-2023 15:20:32 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
[21-Dec-2023 15:20:33 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[21-Dec-2023 15:20:33 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
[21-Dec-2023 15:20:33 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[21-Dec-2023 15:20:33 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
[21-Dec-2023 15:20:33 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[21-Dec-2023 15:20:33 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
[21-Dec-2023 15:20:33 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[21-Dec-2023 15:20:33 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
[21-Dec-2023 15:20:33 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[21-Dec-2023 15:20:33 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
[21-Dec-2023 15:20:33 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[21-Dec-2023 15:20:33 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
[21-Dec-2023 15:20:34 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[21-Dec-2023 15:20:34 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
[21-Dec-2023 15:20:34 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[21-Dec-2023 15:20:34 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
[21-Dec-2023 15:20:37 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[21-Dec-2023 15:20:37 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
[21-Dec-2023 15:20:37 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[21-Dec-2023 15:20:37 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
[21-Dec-2023 15:20:37 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[21-Dec-2023 15:20:37 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
[21-Dec-2023 15:20:37 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[21-Dec-2023 15:20:37 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
[21-Dec-2023 15:20:38 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[21-Dec-2023 15:20:38 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
[21-Dec-2023 15:20:38 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[21-Dec-2023 15:20:38 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
[21-Dec-2023 15:20:38 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[21-Dec-2023 15:20:38 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
[21-Dec-2023 15:20:38 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[21-Dec-2023 15:20:38 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
[21-Dec-2023 15:20:39 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
[21-Dec-2023 15:20:45 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[21-Dec-2023 15:20:45 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
[21-Dec-2023 15:20:45 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[21-Dec-2023 15:20:45 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