Photo Gallery 1.8.21

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: 500.05 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

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

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=e86b11a77a
Aspect after-activation
HTTP status 200
Load time 0.584 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.514 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.442 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.312 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.350 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.214 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.000 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.323 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.483 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.440 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.156 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.410 s0.497 s+0.087 s3.38 MiB3.89 MiB+ 525.08 KiB
/wp-admin/edit.php0.246 s0.327 s+0.081 s3.41 MiB4 MiB+ 602.14 KiB
/wp-admin/post-new.php1.030 s1.058 s+0.028 s5.46 MiB5.93 MiB+ 483.2 KiB
/wp-admin/upload.php0.614 s0.322 s-0.292 s3.32 MiB3.85 MiB+ 542.22 KiB
/wp-admin/options-writing.php0.231 s0.231 s+0.000 s3.32 MiB3.79 MiB+ 486.22 KiB
/wp-admin/media-new.php0.344 s0.369 s+0.025 s3.3 MiB3.78 MiB+ 497.5 KiB
/wp-admin/edit-tags.php?taxonomy=category0.202 s0.328 s+0.126 s3.31 MiB3.83 MiB+ 530.16 KiB
/wp-admin/post-new.php?post_type=page0.631 s1.025 s+0.394 s5.45 MiB5.92 MiB+ 478.78 KiB
/wp-admin/options-discussion.php0.246 s0.292 s+0.046 s3.3 MiB3.79 MiB+ 496 KiB
/wp-admin/edit-comments.php0.287 s0.282 s-0.005 s3.34 MiB3.83 MiB+ 507.67 KiB
/0.317 s0.384 s+0.067 s3.31 MiB3.65 MiB+ 351.55 KiB
Average 0.414 s0.465 s+0.051 s3.72 MiB4.21 MiB+ 500.05 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,9032,63424
CSS6.4%14,73626427
SVG0.7%1,7112153
Sass0.5%1,04901
Markdown0.0%9301
HTML0.0%2403
JSON0.0%501
INI0.0%201
Total 229,902 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

[12-Feb-2024 12:28:26 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28: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
[12-Feb-2024 12:28:26 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28: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
[12-Feb-2024 12:28:27 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28: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
[12-Feb-2024 12:28:27 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28: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
[12-Feb-2024 12:28:28 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28: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
[12-Feb-2024 12:28:28 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28: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
[12-Feb-2024 12:28:29 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28: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
[12-Feb-2024 12:28:29 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28: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
[12-Feb-2024 12:28:30 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28:30 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
[12-Feb-2024 12:28:30 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28:30 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
[12-Feb-2024 12:28:31 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28:31 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
[12-Feb-2024 12:28:31 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28:31 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
[12-Feb-2024 12:28:32 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28: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
[12-Feb-2024 12:28:32 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28: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
[12-Feb-2024 12:28:33 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28: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
[12-Feb-2024 12:28:33 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28: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
[12-Feb-2024 12:28:35 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28:35 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
[12-Feb-2024 12:28:35 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28:35 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
[12-Feb-2024 12:28:36 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28:36 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
[12-Feb-2024 12:28:36 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28:36 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
[12-Feb-2024 12:28:38 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28: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
[12-Feb-2024 12:28:38 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28: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
[12-Feb-2024 12:28:39 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28:39 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
[12-Feb-2024 12:28:39 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28:39 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
[12-Feb-2024 12:28:39 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28:39 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
[12-Feb-2024 12:28:39 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28:39 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
[12-Feb-2024 12:28:43 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28:43 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
[12-Feb-2024 12:28:43 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28:43 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
[12-Feb-2024 12:28:43 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28:43 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
[12-Feb-2024 12:28:43 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28:43 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
[12-Feb-2024 12:28:43 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28:43 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
[12-Feb-2024 12:28:43 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28:43 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
[12-Feb-2024 12:28:44 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28:44 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
[12-Feb-2024 12:28:44 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28:44 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
[12-Feb-2024 12:28:44 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28:44 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
[12-Feb-2024 12:28:44 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28:44 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
[12-Feb-2024 12:28:47 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28:47 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
[12-Feb-2024 12:28:47 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28:47 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
[12-Feb-2024 12:28:48 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28:48 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
[12-Feb-2024 12:28:48 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28:48 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
[12-Feb-2024 12:28:48 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28:48 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
[12-Feb-2024 12:28:48 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28:48 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
[12-Feb-2024 12:28:49 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28:49 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
[12-Feb-2024 12:28:49 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28:49 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
[12-Feb-2024 12:28:49 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
[12-Feb-2024 12:28:56 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28:56 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
[12-Feb-2024 12:28:56 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28:56 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