Photo Portfolio Gallery 1.0.5

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

Summary

Errors
40PHP warnings
10PHP notices
4PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

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

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 7

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

WebPace Portfolio

Page screenshot: WebPace Portfolio
URL /wp-admin/admin.php?page=web_pace_portfolio
Aspect menu-item
HTTP status 200
Load time 0.396 s
Memory usage 3.57 MiB
JS errors None
Resource errors None

WebPace Portfolio → General Options

Page screenshot: WebPace Portfolio → General Options
URL /wp-admin/admin.php?page=Options_web_pace_portfolio_styles
Aspect menu-item
HTTP status 200
Load time 0.441 s
Memory usage 5.38 MiB
JS errors None
Resource errors None

WebPace Portfolio → Lightbox Options

Page screenshot: WebPace Portfolio → Lightbox Options
URL /wp-admin/admin.php?page=options_photo_portfolio_lightbox_styles
Aspect menu-item
HTTP status 200
Load time 0.331 s
Memory usage 3.6 MiB
JS errors None
Resource errors None

WebPace Portfolio → License Page

Page screenshot: WebPace Portfolio → License Page
URL /wp-admin/admin.php?page=web_pace__portfolio_licensing
Aspect menu-item
HTTP status 200
Load time 0.339 s
Memory usage 3.57 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.243 s
Memory usage 3.47 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 1.273 s
Memory usage 5.75 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.318 s0.280 s-0.038 s3.51 MiB3.56 MiB+ 57.44 KiB
/wp-admin/edit.php0.194 s0.208 s+0.014 s3.57 MiB3.62 MiB+ 55.08 KiB
/wp-admin/post-new.php0.751 s0.706 s-0.045 s6.06 MiB6.12 MiB+ 58.01 KiB
/wp-admin/upload.php0.721 s0.507 s-0.214 s3.52 MiB3.57 MiB+ 43.17 KiB
/wp-admin/options-writing.php0.188 s0.203 s+0.015 s3.5 MiB3.54 MiB+ 41.66 KiB
/wp-admin/media-new.php0.239 s0.156 s-0.083 s3.49 MiB3.54 MiB+ 49.86 KiB
/wp-admin/edit-tags.php?taxonomy=category0.180 s0.183 s+0.003 s3.5 MiB3.56 MiB+ 60.53 KiB
/wp-admin/post-new.php?post_type=page0.605 s0.627 s+0.022 s6.05 MiB6.1 MiB+ 53.53 KiB
/wp-admin/options-discussion.php0.429 s0.255 s-0.174 s3.5 MiB3.54 MiB+ 38.16 KiB
/wp-admin/edit-comments.php0.191 s0.373 s+0.182 s3.52 MiB3.56 MiB+ 43.16 KiB
/0.294 s0.204 s-0.090 s3.43 MiB3.47 MiB+ 33.38 KiB
Average 0.374 s0.337 s-0.037 s3.97 MiB4.02 MiB+ 48.54 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.

PHP
JavaScript
CSS
Language % Lines of code Comment lines Files
PHP54.2%13,51877645
JavaScript33.1%8,26138522
CSS12.5%3,1191079
SVG0.1%2904
Total 24,927 1,268 80

PHP Code Analysis | More results »

Lines of code 2,422
Total complexity 356
Median class complexity 16.0
Median method complexity 2.0
Most complex class Photo_Gallery_Admin
Most complex function Photo_Gallery_Template_Loader::load_front_end()
Classes 14
Methods 64
Functions 19

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 2

Options wp_options 5

Sidebar Widgets 1

ID Name
photo_gallery_widgetWeb Pace Portfolio

PHP Error Log 54 lines

[02-May-2025 16:05:58 UTC] PHP Warning:  The magic method Photo_Gallery::__wakeup() must have public visibility in /wp-content/plugins/photo-portfolio-gallery/photo-portfolio.php on line 143
[02-May-2025 16:06:00 UTC] PHP Notice:  Function WP_Scripts::localize was called <strong>incorrectly</strong>. The <code>$l10n</code> parameter must be an array. To pass arbitrary data to scripts, use the <code>wp_add_inline_script()</code> function instead. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.7.0.) in /wp-includes/functions.php on line 6121
[02-May-2025 16:06:00 UTC] PHP Notice:  Function WP_Scripts::localize was called <strong>incorrectly</strong>. The <code>$l10n</code> parameter must be an array. To pass arbitrary data to scripts, use the <code>wp_add_inline_script()</code> function instead. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.7.0.) in /wp-includes/functions.php on line 6121
[02-May-2025 16:06:01 UTC] PHP Notice:  Function WP_Scripts::localize was called <strong>incorrectly</strong>. The <code>$l10n</code> parameter must be an array. To pass arbitrary data to scripts, use the <code>wp_add_inline_script()</code> function instead. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.7.0.) in /wp-includes/functions.php on line 6121
[02-May-2025 16:06:01 UTC] PHP Notice:  Function WP_Scripts::localize was called <strong>incorrectly</strong>. The <code>$l10n</code> parameter must be an array. To pass arbitrary data to scripts, use the <code>wp_add_inline_script()</code> function instead. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.7.0.) in /wp-includes/functions.php on line 6121
[02-May-2025 16:06:01 UTC] PHP Warning:  Undefined array key "photo_gallery_ht_view0_sortbutton_border_width" in /wp-content/plugins/photo-portfolio-gallery/views/admin/photo-portfolio-admin-general-settings-view.php on line 226
[02-May-2025 16:06:01 UTC] PHP Warning:  Undefined array key "photo_gallery_ht_view0_sortbutton_border_color" in /wp-content/plugins/photo-portfolio-gallery/views/admin/photo-portfolio-admin-general-settings-view.php on line 233
[02-May-2025 16:06:01 UTC] PHP Warning:  Undefined array key "photo_gallery_ht_view0_sortbutton_margin" in /wp-content/plugins/photo-portfolio-gallery/views/admin/photo-portfolio-admin-general-settings-view.php on line 263
[02-May-2025 16:06:01 UTC] PHP Warning:  Undefined array key "photo_gallery_ht_view0_filterbutton_border_width" in /wp-content/plugins/photo-portfolio-gallery/views/admin/photo-portfolio-admin-general-settings-view.php on line 473
[02-May-2025 16:06:01 UTC] PHP Warning:  Undefined array key "photo_gallery_ht_view0_filterbutton_border_color" in /wp-content/plugins/photo-portfolio-gallery/views/admin/photo-portfolio-admin-general-settings-view.php on line 480
[02-May-2025 16:06:01 UTC] PHP Warning:  Undefined array key "photo_gallery_ht_view0_filterbutton_margin" in /wp-content/plugins/photo-portfolio-gallery/views/admin/photo-portfolio-admin-general-settings-view.php on line 510
[02-May-2025 16:06:01 UTC] PHP Warning:  Undefined array key "photo_gallery_ht_view1_filterbutton_border_width" in /wp-content/plugins/photo-portfolio-gallery/views/admin/photo-portfolio-admin-general-settings-view.php on line 865
[02-May-2025 16:06:01 UTC] PHP Warning:  Undefined array key "photo_gallery_ht_view1_filterbutton_border_color" in /wp-content/plugins/photo-portfolio-gallery/views/admin/photo-portfolio-admin-general-settings-view.php on line 872
[02-May-2025 16:06:01 UTC] PHP Warning:  Undefined array key "photo_gallery_ht_view1_filterbutton_margin" in /wp-content/plugins/photo-portfolio-gallery/views/admin/photo-portfolio-admin-general-settings-view.php on line 902
[02-May-2025 16:06:01 UTC] PHP Warning:  Undefined array key "photo_gallery_ht_view1_sortbutton_border_width" in /wp-content/plugins/photo-portfolio-gallery/views/admin/photo-portfolio-admin-general-settings-view.php on line 984
[02-May-2025 16:06:01 UTC] PHP Warning:  Undefined array key "photo_gallery_ht_view1_sortbutton_border_color" in /wp-content/plugins/photo-portfolio-gallery/views/admin/photo-portfolio-admin-general-settings-view.php on line 991
[02-May-2025 16:06:01 UTC] PHP Warning:  Undefined array key "photo_gallery_ht_view1_sortbutton_margin" in /wp-content/plugins/photo-portfolio-gallery/views/admin/photo-portfolio-admin-general-settings-view.php on line 1021
[02-May-2025 16:06:01 UTC] PHP Warning:  Undefined array key "photo_gallery_ht_view2_sortbutton_border_width" in /wp-content/plugins/photo-portfolio-gallery/views/admin/photo-portfolio-admin-general-settings-view.php on line 1323
[02-May-2025 16:06:01 UTC] PHP Warning:  Undefined array key "photo_gallery_ht_view2_sortbutton_border_color" in /wp-content/plugins/photo-portfolio-gallery/views/admin/photo-portfolio-admin-general-settings-view.php on line 1330
[02-May-2025 16:06:01 UTC] PHP Warning:  Undefined array key "photo_gallery_ht_view2_sortbutton_margin" in /wp-content/plugins/photo-portfolio-gallery/views/admin/photo-portfolio-admin-general-settings-view.php on line 1360
[02-May-2025 16:06:01 UTC] PHP Warning:  Undefined array key "photo_gallery_ht_view2_filterbutton_border_width" in /wp-content/plugins/photo-portfolio-gallery/views/admin/photo-portfolio-admin-general-settings-view.php on line 1499
[02-May-2025 16:06:01 UTC] PHP Warning:  Undefined array key "photo_gallery_ht_view2_filterbutton_border_color" in /wp-content/plugins/photo-portfolio-gallery/views/admin/photo-portfolio-admin-general-settings-view.php on line 1506
[02-May-2025 16:06:01 UTC] PHP Warning:  Undefined array key "photo_gallery_ht_view2_filterbutton_margin" in /wp-content/plugins/photo-portfolio-gallery/views/admin/photo-portfolio-admin-general-settings-view.php on line 1536
[02-May-2025 16:06:01 UTC] PHP Warning:  Undefined array key "photo_gallery_ht_view3_sortbutton_border_width" in /wp-content/plugins/photo-portfolio-gallery/views/admin/photo-portfolio-admin-general-settings-view.php on line 1951
[02-May-2025 16:06:01 UTC] PHP Warning:  Undefined array key "photo_gallery_ht_view3_sortbutton_border_color" in /wp-content/plugins/photo-portfolio-gallery/views/admin/photo-portfolio-admin-general-settings-view.php on line 1958
[02-May-2025 16:06:01 UTC] PHP Warning:  Undefined array key "photo_gallery_ht_view3_sortbutton_margin" in /wp-content/plugins/photo-portfolio-gallery/views/admin/photo-portfolio-admin-general-settings-view.php on line 1988
[02-May-2025 16:06:01 UTC] PHP Warning:  Undefined array key "photo_gallery_ht_view3_filterbutton_border_width" in /wp-content/plugins/photo-portfolio-gallery/views/admin/photo-portfolio-admin-general-settings-view.php on line 2126
[02-May-2025 16:06:01 UTC] PHP Warning:  Undefined array key "photo_gallery_ht_view3_filterbutton_border_color" in /wp-content/plugins/photo-portfolio-gallery/views/admin/photo-portfolio-admin-general-settings-view.php on line 2133
[02-May-2025 16:06:01 UTC] PHP Warning:  Undefined array key "photo_gallery_ht_view3_filterbutton_margin" in /wp-content/plugins/photo-portfolio-gallery/views/admin/photo-portfolio-admin-general-settings-view.php on line 2163
[02-May-2025 16:06:01 UTC] PHP Warning:  Undefined array key "photo_gallery_ht_view4_sortbutton_border_width" in /wp-content/plugins/photo-portfolio-gallery/views/admin/photo-portfolio-admin-general-settings-view.php on line 2411
[02-May-2025 16:06:01 UTC] PHP Warning:  Undefined array key "photo_gallery_ht_view4_sortbutton_border_color" in /wp-content/plugins/photo-portfolio-gallery/views/admin/photo-portfolio-admin-general-settings-view.php on line 2418
[02-May-2025 16:06:01 UTC] PHP Warning:  Undefined array key "photo_gallery_ht_view4_sortbutton_margin" in /wp-content/plugins/photo-portfolio-gallery/views/admin/photo-portfolio-admin-general-settings-view.php on line 2448
[02-May-2025 16:06:01 UTC] PHP Warning:  Undefined array key "photo_gallery_ht_view4_filterbutton_border_width" in /wp-content/plugins/photo-portfolio-gallery/views/admin/photo-portfolio-admin-general-settings-view.php on line 2585
[02-May-2025 16:06:01 UTC] PHP Warning:  Undefined array key "photo_gallery_ht_view4_filterbutton_border_color" in /wp-content/plugins/photo-portfolio-gallery/views/admin/photo-portfolio-admin-general-settings-view.php on line 2592
[02-May-2025 16:06:01 UTC] PHP Warning:  Undefined array key "photo_gallery_ht_view4_filterbutton_margin" in /wp-content/plugins/photo-portfolio-gallery/views/admin/photo-portfolio-admin-general-settings-view.php on line 2622
[02-May-2025 16:06:01 UTC] PHP Warning:  Undefined array key "photo_gallery_ht_view6_sortbutton_border_width" in /wp-content/plugins/photo-portfolio-gallery/views/admin/photo-portfolio-admin-general-settings-view.php on line 3081
[02-May-2025 16:06:01 UTC] PHP Warning:  Undefined array key "photo_gallery_ht_view6_sortbutton_border_color" in /wp-content/plugins/photo-portfolio-gallery/views/admin/photo-portfolio-admin-general-settings-view.php on line 3088
[02-May-2025 16:06:01 UTC] PHP Warning:  Undefined array key "photo_gallery_ht_view6_sortbutton_margin" in /wp-content/plugins/photo-portfolio-gallery/views/admin/photo-portfolio-admin-general-settings-view.php on line 3118
[02-May-2025 16:06:01 UTC] PHP Warning:  Undefined array key "photo_gallery_ht_view6_filterbutton_border_width" in /wp-content/plugins/photo-portfolio-gallery/views/admin/photo-portfolio-admin-general-settings-view.php on line 3256
[02-May-2025 16:06:01 UTC] PHP Warning:  Undefined array key "photo_gallery_ht_view6_filterbutton_border_color" in /wp-content/plugins/photo-portfolio-gallery/views/admin/photo-portfolio-admin-general-settings-view.php on line 3263
[02-May-2025 16:06:01 UTC] PHP Warning:  Undefined array key "photo_gallery_ht_view6_filterbutton_margin" in /wp-content/plugins/photo-portfolio-gallery/views/admin/photo-portfolio-admin-general-settings-view.php on line 3293
[02-May-2025 16:06:01 UTC] PHP Warning:  Undefined array key "photo_gallery_ht_view8_sortbutton_border_color" in /wp-content/plugins/photo-portfolio-gallery/views/admin/photo-portfolio-admin-general-settings-view.php on line 4060
[02-May-2025 16:06:01 UTC] PHP Warning:  Undefined array key "photo_gallery_ht_view8_sortbutton_margin" in /wp-content/plugins/photo-portfolio-gallery/views/admin/photo-portfolio-admin-general-settings-view.php on line 4081
[02-May-2025 16:06:01 UTC] PHP Warning:  Undefined array key "photo_gallery_ht_view8_filterbutton_border_width" in /wp-content/plugins/photo-portfolio-gallery/views/admin/photo-portfolio-admin-general-settings-view.php on line 4219
[02-May-2025 16:06:02 UTC] PHP Notice:  Function WP_Scripts::localize was called <strong>incorrectly</strong>. The <code>$l10n</code> parameter must be an array. To pass arbitrary data to scripts, use the <code>wp_add_inline_script()</code> function instead. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.7.0.) in /wp-includes/functions.php on line 6121
[02-May-2025 16:06:02 UTC] PHP Notice:  Function WP_Scripts::localize was called <strong>incorrectly</strong>. The <code>$l10n</code> parameter must be an array. To pass arbitrary data to scripts, use the <code>wp_add_inline_script()</code> function instead. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.7.0.) in /wp-includes/functions.php on line 6121
[02-May-2025 16:06:03 UTC] PHP Notice:  Function WP_Scripts::localize was called <strong>incorrectly</strong>. The <code>$l10n</code> parameter must be an array. To pass arbitrary data to scripts, use the <code>wp_add_inline_script()</code> function instead. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.7.0.) in /wp-includes/functions.php on line 6121
[02-May-2025 16:06:03 UTC] PHP Notice:  Function WP_Scripts::localize was called <strong>incorrectly</strong>. The <code>$l10n</code> parameter must be an array. To pass arbitrary data to scripts, use the <code>wp_add_inline_script()</code> function instead. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.7.0.) in /wp-includes/functions.php on line 6121
[02-May-2025 16:06:06 UTC] PHP Deprecated:  Hook block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 6121
[02-May-2025 16:06:06 UTC] PHP Deprecated:  Hook block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 6121
[02-May-2025 16:06:06 UTC] PHP Notice:  Function WP_Scripts::localize was called <strong>incorrectly</strong>. The <code>$l10n</code> parameter must be an array. To pass arbitrary data to scripts, use the <code>wp_add_inline_script()</code> function instead. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.7.0.) in /wp-includes/functions.php on line 6121
[02-May-2025 16:06:10 UTC] PHP Deprecated:  Hook block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 6121
[02-May-2025 16:06:10 UTC] PHP Deprecated:  Hook block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 6121
[02-May-2025 16:06:10 UTC] PHP Notice:  Function WP_Scripts::localize was called <strong>incorrectly</strong>. The <code>$l10n</code> parameter must be an array. To pass arbitrary data to scripts, use the <code>wp_add_inline_script()</code> function instead. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.7.0.) in /wp-includes/functions.php on line 6121
See also: All tests for this plugin, How to Hide Photo Portfolio Gallery Admin Menus