Selfie 0.2.2

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

Summary

Errors
3PHP fatal errors
6PHP warnings
57PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 34.83 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 <10
WordPress.org page https://wordpress.org/plugins/selfie/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 6

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=selfie%2Fselfie.php&plugin_status=all&paged=1&s&_wpnonce=20374ec721
Aspect after-activation
HTTP status 200
Load time 0.454 s
Memory usage 3.36 MiB
JS errors None
Resource errors None

Selfie

Page screenshot: Selfie
URL /wp-admin/admin.php?page=Selfie
Aspect menu-item
HTTP status 200
Load time 1.637 s
Memory usage 4.75 MiB
JS errors None
Resource errors None

Selfie → How To Get Started

Page screenshot: Selfie → How To Get Started
URL /wp-admin/admin.php?page=Selfie-Help
Aspect menu-item
HTTP status 200
Load time 0.592 s
Memory usage 3.37 MiB
JS errors None
Resource errors None

Selfie → Important Tips

Page screenshot: Selfie → Important Tips
URL /wp-admin/admin.php?page=Selfie-Tips
Aspect menu-item
HTTP status 200
Load time 0.474 s
Memory usage 3.36 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.408 s
Memory usage N/A
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.729 s
Memory usage 5.47 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.401 s0.360 s-0.041 s3.38 MiB3.42 MiB+ 41.31 KiB
/wp-admin/edit.php0.220 s0.209 s-0.011 s3.41 MiB3.45 MiB+ 41.72 KiB
/wp-admin/upload.php0.601 s0.308 s-0.293 s3.32 MiB3.35 MiB+ 25.04 KiB
/wp-admin/options-writing.php0.249 s0.208 s-0.041 s3.32 MiB3.34 MiB+ 18.14 KiB
/wp-admin/media-new.php0.348 s0.393 s+0.045 s3.3 MiB3.33 MiB+ 37.74 KiB
/wp-admin/edit-tags.php?taxonomy=category0.223 s0.200 s-0.023 s3.31 MiB3.36 MiB+ 42.09 KiB
/wp-admin/options-discussion.php0.394 s0.232 s-0.162 s3.3 MiB3.33 MiB+ 26.05 KiB
/wp-admin/edit-comments.php0.268 s0.230 s-0.038 s3.34 MiB3.36 MiB+ 24.02 KiB
/0.315 s0.308 s-0.007 s3.36 MiB3.41 MiB+ 57.37 KiB
Average 0.335 s0.272 s-0.063 s3.34 MiB3.37 MiB+ 34.83 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
PHP44.5%2,41468521
JavaScript36.6%1,9832114
CSS18.9%1,023426
Total 5,420 938 31

PHP Code Analysis | More results »

Lines of code 1,530
Total complexity 323
Median class complexity 19.0
Median method complexity 2.0
Most complex class Selfie_Utility
Most complex function Selfie_Utility::getPricingGrid()
Classes 9
Methods 106
Functions 0

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.

Options wp_options 4

Sidebar Widgets 1

ID Name
selfie_sidebarSelfie Area

PHP Error Log 122 lines

[15-Feb-2024 07:18:46 UTC] PHP Deprecated:  The called constructor method for WP_Widget class in Selfie_Zone_Widget is deprecated since version 4.3.0! Use __construct() instead. in /wp-includes/functions.php on line 6031
[15-Feb-2024 07:18:47 UTC] PHP Deprecated:  The called constructor method for WP_Widget class in Selfie_Zone_Widget is deprecated since version 4.3.0! Use __construct() instead. in /wp-includes/functions.php on line 6031
[15-Feb-2024 07:18:47 UTC] PHP Deprecated:  Function add_option was called with an argument that is deprecated since version 2.3.0 with no alternative available. in /wp-includes/functions.php on line 6031
[15-Feb-2024 07:18:48 UTC] PHP Deprecated:  The called constructor method for WP_Widget class in Selfie_Zone_Widget is deprecated since version 4.3.0! Use __construct() instead. in /wp-includes/functions.php on line 6031
[15-Feb-2024 07:18:48 UTC] PHP Deprecated:  Function add_option was called with an argument that is deprecated since version 2.3.0 with no alternative available. in /wp-includes/functions.php on line 6031
[15-Feb-2024 07:18:48 UTC] PHP Deprecated:  Function add_option was called with an argument that is deprecated since version 2.3.0 with no alternative available. in /wp-includes/functions.php on line 6031
[15-Feb-2024 07:18:50 UTC] PHP Deprecated:  The called constructor method for WP_Widget class in Selfie_Zone_Widget is deprecated since version 4.3.0! Use __construct() instead. in /wp-includes/functions.php on line 6031
[15-Feb-2024 07:18:52 UTC] PHP Deprecated:  The called constructor method for WP_Widget class in Selfie_Zone_Widget is deprecated since version 4.3.0! Use __construct() instead. in /wp-includes/functions.php on line 6031
[15-Feb-2024 07:18:54 UTC] PHP Deprecated:  The called constructor method for WP_Widget class in Selfie_Zone_Widget is deprecated since version 4.3.0! Use __construct() instead. in /wp-includes/functions.php on line 6031
[15-Feb-2024 07:18:54 UTC] PHP Warning:  Illegal string offset "2024-*-15" in /wp-content/plugins/selfie/Selfie/Utility.php on line 931
[15-Feb-2024 07:18:54 UTC] PHP Warning:  Illegal string offset "2024-02-*" in /wp-content/plugins/selfie/Selfie/Utility.php on line 932
[15-Feb-2024 07:18:54 UTC] PHP Fatal error:  Uncaught TypeError: Cannot access offset of type string on string in /wp-content/plugins/selfie/Selfie/Utility.php:933
Stack trace:
#0 /wp-content/plugins/selfie/Selfie/Core.php(508): Selfie_Utility::incrementSelfieViewCounts()
#1 /wp-includes/shortcodes.php(433): Selfie_Core->shortcode()
#2 [internal function]: do_shortcode_tag()
#3 /wp-includes/shortcodes.php(273): preg_replace_callback()
#4 /wp-includes/class-wp-hook.php(324): do_shortcode()
#5 /wp-includes/plugin.php(205): WP_Hook->apply_filters()
#6 /wp-includes/post-template.php(256): apply_filters()
#7 /wp-content/themes/twentyseventeen/template-parts/post/content.php(58): the_content()
#8 /wp-includes/template.php(792): require('...')
#9 /wp-includes/template.php(725): load_template()
#10 /wp-includes/general-template.php(206): locate_template()
#11 /wp-content/themes/twentyseventeen/index.php(47): get_template_part()
#12 /wp-includes/template-loader.php(106): include('...')
#13 /wp-blog-header.php(19): require_once('...')
#14 /index.php(17): require('...')
#15 {main}
  thrown in /wp-content/plugins/selfie/Selfie/Utility.php on line 933
[15-Feb-2024 07:18:55 UTC] PHP Deprecated:  The called constructor method for WP_Widget class in Selfie_Zone_Widget is deprecated since version 4.3.0! Use __construct() instead. in /wp-includes/functions.php on line 6031
[15-Feb-2024 07:18:55 UTC] PHP Deprecated:  The called constructor method for WP_Widget class in Selfie_Zone_Widget is deprecated since version 4.3.0! Use __construct() instead. in /wp-includes/functions.php on line 6031
[15-Feb-2024 07:18:55 UTC] PHP Deprecated:  The called constructor method for WP_Widget class in Selfie_Zone_Widget is deprecated since version 4.3.0! Use __construct() instead. in /wp-includes/functions.php on line 6031
[15-Feb-2024 07:18:55 UTC] PHP Deprecated:  The called constructor method for WP_Widget class in Selfie_Zone_Widget is deprecated since version 4.3.0! Use __construct() instead. in /wp-includes/functions.php on line 6031
[15-Feb-2024 07:18:55 UTC] PHP Warning:  Illegal string offset "2024-*-15" in /wp-content/plugins/selfie/Selfie/Utility.php on line 931
[15-Feb-2024 07:18:55 UTC] PHP Warning:  Illegal string offset "2024-02-*" in /wp-content/plugins/selfie/Selfie/Utility.php on line 932
[15-Feb-2024 07:18:55 UTC] PHP Fatal error:  Uncaught TypeError: Cannot access offset of type string on string in /wp-content/plugins/selfie/Selfie/Utility.php:933
Stack trace:
#0 /wp-content/plugins/selfie/Selfie/Core.php(508): Selfie_Utility::incrementSelfieViewCounts()
#1 /wp-includes/shortcodes.php(433): Selfie_Core->shortcode()
#2 [internal function]: do_shortcode_tag()
#3 /wp-includes/shortcodes.php(273): preg_replace_callback()
#4 /wp-includes/class-wp-hook.php(324): do_shortcode()
#5 /wp-includes/plugin.php(205): WP_Hook->apply_filters()
#6 /wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(1863): apply_filters()
#7 /wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(569): WP_REST_Posts_Controller->prepare_item_for_response()
#8 /wp-includes/rest-api/class-wp-rest-server.php(1193): WP_REST_Posts_Controller->get_item()
#9 /wp-includes/rest-api/class-wp-rest-server.php(1041): WP_REST_Server->respond_to_request()
#10 /wp-includes/rest-api.php(551): WP_REST_Server->dispatch()
#11 /wp-includes/rest-api.php(2918): rest_do_request()
#12 [internal function]: rest_preload_api_request()
#13 /wp-includes/block-editor.php(753): array_reduce()
#14 /wp-admin/edit-form-blocks.php(77): block_editor_rest_api_preload()
#15 /wp-admin/post-new.php(72): require('...')
#16 {main}
  thrown in /wp-content/plugins/selfie/Selfie/Utility.php on line 933
[15-Feb-2024 07:18:55 UTC] PHP Deprecated:  The called constructor method for WP_Widget class in Selfie_Zone_Widget is deprecated since version 4.3.0! Use __construct() instead. in /wp-includes/functions.php on line 6031
[15-Feb-2024 07:18:56 UTC] PHP Deprecated:  The called constructor method for WP_Widget class in Selfie_Zone_Widget is deprecated since version 4.3.0! Use __construct() instead. in /wp-includes/functions.php on line 6031
[15-Feb-2024 07:18:56 UTC] PHP Deprecated:  The called constructor method for WP_Widget class in Selfie_Zone_Widget is deprecated since version 4.3.0! Use __construct() instead. in /wp-includes/functions.php on line 6031
[15-Feb-2024 07:18:56 UTC] PHP Deprecated:  The called constructor method for WP_Widget class in Selfie_Zone_Widget is deprecated since version 4.3.0! Use __construct() instead. in /wp-includes/functions.php on line 6031
[15-Feb-2024 07:18:57 UTC] PHP Deprecated:  The called constructor method for WP_Widget class in Selfie_Zone_Widget is deprecated since version 4.3.0! Use __construct() instead. in /wp-includes/functions.php on line 6031
[15-Feb-2024 07:18:57 UTC] PHP Deprecated:  The called constructor method for WP_Widget class in Selfie_Zone_Widget is deprecated since version 4.3.0! Use __construct() instead. in /wp-includes/functions.php on line 6031
[15-Feb-2024 07:18:57 UTC] PHP Warning:  Illegal string offset "2024-*-15" in /wp-content/plugins/selfie/Selfie/Utility.php on line 931
[15-Feb-2024 07:18:57 UTC] PHP Warning:  Illegal string offset "2024-02-*" in /wp-content/plugins/selfie/Selfie/Utility.php on line 932
[15-Feb-2024 07:18:57 UTC] PHP Fatal error:  Uncaught TypeError: Cannot access offset of type string on string in /wp-content/plugins/selfie/Selfie/Utility.php:933
Stack trace:
#0 /wp-content/plugins/selfie/Selfie/Core.php(508): Selfie_Utility::incrementSelfieViewCounts()
#1 /wp-includes/shortcodes.php(433): Selfie_Core->shortcode()
#2 [internal function]: do_shortcode_tag()
#3 /wp-includes/shortcodes.php(273): preg_replace_callback()
#4 /wp-includes/class-wp-hook.php(324): do_shortcode()
#5 /wp-includes/plugin.php(205): WP_Hook->apply_filters()
#6 /wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(1863): apply_filters()
#7 /wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(569): WP_REST_Posts_Controller->prepare_item_for_response()
#8 /wp-includes/rest-api/class-wp-rest-server.php(1193): WP_REST_Posts_Controller->get_item()
#9 /wp-includes/rest-api/class-wp-rest-server.php(1041): WP_REST_Server->respond_to_request()
#10 /wp-includes/rest-api.php(551): WP_REST_Server->dispatch()
#11 /wp-includes/rest-api.php(2918): rest_do_request()
#12 [internal function]: rest_preload_api_request()
#13 /wp-includes/block-editor.php(753): array_reduce()
#14 /wp-admin/edit-form-blocks.php(77): block_editor_rest_api_preload()
#15 /wp-admin/post-new.php(72): require('...')
#16 {main}
  thrown in /wp-content/plugins/selfie/Selfie/Utility.php on line 933
[15-Feb-2024 07:18:57 UTC] PHP Deprecated:  The called constructor method for WP_Widget class in Selfie_Zone_Widget is deprecated since version 4.3.0! Use __construct() instead. in /wp-includes/functions.php on line 6031
[15-Feb-2024 07:18:57 UTC] PHP Deprecated:  The called constructor method for WP_Widget class in Selfie_Zone_Widget is deprecated since version 4.3.0! Use __construct() instead. in /wp-includes/functions.php on line 6031
[15-Feb-2024 07:18:58 UTC] PHP Deprecated:  The called constructor method for WP_Widget class in Selfie_Zone_Widget is deprecated since version 4.3.0! Use __construct() instead. in /wp-includes/functions.php on line 6031
[15-Feb-2024 07:18:58 UTC] PHP Deprecated:  The called constructor method for WP_Widget class in Selfie_Zone_Widget is deprecated since version 4.3.0! Use __construct() instead. in /wp-includes/functions.php on line 6031
[15-Feb-2024 07:18:58 UTC] PHP Deprecated:  The called constructor method for WP_Widget class in Selfie_Zone_Widget is deprecated since version 4.3.0! Use __construct() instead. in /wp-includes/functions.php on line 6031
[15-Feb-2024 07:19:01 UTC] PHP Deprecated:  The called constructor method for WP_Widget class in Selfie_Zone_Widget is deprecated since version 4.3.0! Use __construct() instead. in /wp-includes/functions.php on line 6031
[15-Feb-2024 07:19:01 UTC] PHP Deprecated:  The called constructor method for WP_Widget class in Selfie_Zone_Widget is deprecated since version 4.3.0! Use __construct() instead. in /wp-includes/functions.php on line 6031
[15-Feb-2024 07:19:01 UTC] PHP Deprecated:  The called constructor method for WP_Widget class in Selfie_Zone_Widget is deprecated since version 4.3.0! Use __construct() instead. in /wp-includes/functions.php on line 6031
[15-Feb-2024 07:19:01 UTC] PHP Deprecated:  The called constructor method for WP_Widget class in Selfie_Zone_Widget is deprecated since version 4.3.0! Use __construct() instead. in /wp-includes/functions.php on line 6031
[15-Feb-2024 07:19:01 UTC] PHP Deprecated:  The called constructor method for WP_Widget class in Selfie_Zone_Widget is deprecated since version 4.3.0! Use __construct() instead. in /wp-includes/functions.php on line 6031
[15-Feb-2024 07:19:01 UTC] PHP Deprecated:  The called constructor method for WP_Widget class in Selfie_Zone_Widget is deprecated since version 4.3.0! Use __construct() instead. in /wp-includes/functions.php on line 6031
[15-Feb-2024 07:19:01 UTC] PHP Deprecated:  The called constructor method for WP_Widget class in Selfie_Zone_Widget is deprecated since version 4.3.0! Use __construct() instead. in /wp-includes/functions.php on line 6031
[15-Feb-2024 07:19:01 UTC] PHP Deprecated:  The called constructor method for WP_Widget class in Selfie_Zone_Widget is deprecated since version 4.3.0! Use __construct() instead. in /wp-includes/functions.php on line 6031
[15-Feb-2024 07:19:01 UTC] PHP Deprecated:  The called constructor method for WP_Widget class in Selfie_Zone_Widget is deprecated since version 4.3.0! Use __construct() instead. in /wp-includes/functions.php on line 6031
[15-Feb-2024 07:19:01 UTC] PHP Deprecated:  The called constructor method for WP_Widget class in Selfie_Zone_Widget is deprecated since version 4.3.0! Use __construct() instead. in /wp-includes/functions.php on line 6031
[15-Feb-2024 07:19:01 UTC] PHP Deprecated:  The called constructor method for WP_Widget class in Selfie_Zone_Widget is deprecated since version 4.3.0! Use __construct() instead. in /wp-includes/functions.php on line 6031

(+22 more lines)
See also: All tests for this plugin