Twenty20 Image Before-After 1.7.4

Does Twenty20 Image Before-After work with WordPress 6.6.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
13PHP fatal errors
11JavaScript exceptions
1Page failed to load
  • 1 500 Internal Server Error
No resource errors
Performance

Memory usage: 29.66 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.6.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 30,000+
WordPress.org page https://wordpress.org/plugins/twenty20/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

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=twenty20%2Fttwenty.php&plugin_status=all&paged=1&s&_wpnonce=dd0b4d4d0d
Aspect after-activation
HTTP status 200
Load time 0.274 s
Memory usage 3.5 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 500
Load time 0.062 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.276 s
Memory usage 5.63 MiB
JS errors
[
    {
        "message": "Object",
        "trace": null,
        "code": null
    },
    {
        "message": "Object",
        "trace": null,
        "code": null
    },
    {
        "message": "Object",
        "trace": null,
        "code": null
    },
    {
        "message": "Object",
        "trace": null,
        "code": null
    },
    {
        "message": "Object",
        "trace": null,
        "code": null
    },
    {
        "message": "Object",
        "trace": null,
        "code": null
    },
    {
        "message": "Object",
        "trace": null,
        "code": null
    },
    {
        "message": "Object",
        "trace": null,
        "code": null
    },
    {
        "message": "Object",
        "trace": null,
        "code": null
    },
    {
        "message": "Object",
        "trace": null,
        "code": null
    },
    {
        "message": "Object",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.337 s0.311 s-0.026 s3.47 MiB3.49 MiB+ 16.18 KiB
/wp-admin/edit.php0.225 s0.234 s+0.009 s3.54 MiB3.55 MiB+ 16.52 KiB
/wp-admin/post-new.php0.804 s0.637 s-0.167 s5.75 MiB5.77 MiB+ 22.84 KiB
/wp-admin/upload.php0.683 s0.417 s-0.266 s3.49 MiB3.49 MiB+ 792 bytes
/wp-admin/options-writing.php0.208 s0.184 s-0.024 s3.41 MiB3.47 MiB+ 61.91 KiB
/wp-admin/media-new.php0.244 s0.407 s+0.163 s3.4 MiB3.47 MiB+ 75.3 KiB
/wp-admin/edit-tags.php?taxonomy=category0.192 s0.250 s+0.058 s3.47 MiB3.49 MiB+ 21.97 KiB
/wp-admin/post-new.php?post_type=page0.626 s0.615 s-0.011 s5.75 MiB5.76 MiB+ 18.42 KiB
/wp-admin/options-discussion.php0.258 s0.258 s+0.000 s3.41 MiB3.47 MiB+ 63.6 KiB
/wp-admin/edit-comments.php0.271 s0.211 s-0.060 s3.49 MiB3.49 MiB- 920 bytes
Average 0.385 s0.352 s-0.032 s3.92 MiB3.95 MiB+ 29.66 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
CSS
Language % Lines of code Comment lines Files
PHP79.1%986389
CSS16.4%20402
JavaScript4.3%5324
HTML0.2%301
Total 1,246 40 16

PHP Code Analysis | More results »

Lines of code 1,024
Total complexity 84
Median class complexity 9.0
Median method complexity 1.0
Most complex class twenty20_slider_widget
Most complex function twenty20_shortcode_init()
Classes 5
Methods 28
Functions 14

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 1

Sidebar Widgets 1

ID Name
t20_slider_widgetTwenty20 Slider

PHP Error Log 326 lines

[09-Aug-2024 11:19:01 UTC] PHP Fatal error:  Uncaught Error: Class "Elementor\Plugin" not found in /wp-content/plugins/twenty20/inc/enqueue.php:15
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): twenty20_zb_enqueue_script()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-includes/script-loader.php(2263): do_action()
#4 /wp-includes/class-wp-hook.php(324): wp_enqueue_scripts()
#5 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#6 /wp-includes/plugin.php(517): WP_Hook->do_action()
#7 /wp-includes/general-template.php(3065): do_action()
#8 /wp-content/themes/twentyseventeen/header.php(22): wp_head()
#9 /wp-includes/template.php(810): require_once('...')
#10 /wp-includes/template.php(745): load_template()
#11 /wp-includes/general-template.php(48): locate_template()
#12 /wp-content/themes/twentyseventeen/index.php(18): get_header()
#13 /wp-includes/template-loader.php(106): include('...')
#14 /wp-blog-header.php(19): require_once('...')
#15 /index.php(17): require('...')
#16 {main}
  thrown in /wp-content/plugins/twenty20/inc/enqueue.php on line 15
[09-Aug-2024 11:19:09 UTC] PHP Fatal error:  Uncaught Error: Class "Elementor\Plugin" not found in /wp-content/plugins/twenty20/inc/enqueue.php:15
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): twenty20_zb_enqueue_script()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-includes/script-loader.php(2263): do_action()
#4 /wp-includes/class-wp-hook.php(324): wp_enqueue_scripts()
#5 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#6 /wp-includes/plugin.php(517): WP_Hook->do_action()
#7 /wp-includes/general-template.php(3065): do_action()
#8 /wp-content/themes/twentyseventeen/header.php(22): wp_head()
#9 /wp-includes/template.php(810): require_once('...')
#10 /wp-includes/template.php(745): load_template()
#11 /wp-includes/general-template.php(48): locate_template()
#12 /wp-content/themes/twentyseventeen/index.php(18): get_header()
#13 /wp-includes/template-loader.php(106): include('...')
#14 /wp-blog-header.php(19): require_once('...')
#15 /index.php(17): require('...')
#16 {main}
  thrown in /wp-content/plugins/twenty20/inc/enqueue.php on line 15
[09-Aug-2024 11:19:13 UTC] PHP Fatal error:  Uncaught Error: Class "Elementor\Plugin" not found in /wp-content/plugins/twenty20/inc/enqueue.php:15
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): twenty20_zb_enqueue_script()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-includes/script-loader.php(2263): do_action()
#4 /wp-includes/class-wp-hook.php(324): wp_enqueue_scripts()
#5 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#6 /wp-includes/plugin.php(517): WP_Hook->do_action()
#7 /wp-includes/general-template.php(3065): do_action()
#8 /wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php(631): wp_head()
#9 /wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php(603): WP_REST_Widget_Types_Controller->render_legacy_widget_preview_iframe()
#10 /wp-includes/rest-api/class-wp-rest-server.php(1230): WP_REST_Widget_Types_Controller->render()
#11 /wp-includes/rest-api/class-wp-rest-server.php(1063): WP_REST_Server->respond_to_request()
#12 /wp-includes/rest-api/class-wp-rest-server.php(439): WP_REST_Server->dispatch()
#13 /wp-includes/rest-api.php(420): WP_REST_Server->serve_request()
#14 /wp-includes/class-wp-hook.php(324): rest_api_loaded()
#15 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#16 /wp-includes/plugin.php(565): WP_Hook->do_action()
#17 /wp-includes/class-wp.php(418): do_action_ref_array()
#18 /wp-includes/class-wp.php(813): WP->parse_request()
#19 /wp-includes/functions.php(1336): WP->main()
#20 /wp-blog-header.php(16): wp()
#21 /index.php(17): require('...')
#22 {main}
  thrown in /wp-content/plugins/twenty20/inc/enqueue.php on line 15
[09-Aug-2024 11:19:13 UTC] PHP Fatal error:  Uncaught Error: Class "Elementor\Plugin" not found in /wp-content/plugins/twenty20/inc/enqueue.php:15
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): twenty20_zb_enqueue_script()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-includes/script-loader.php(2263): do_action()
#4 /wp-includes/class-wp-hook.php(324): wp_enqueue_scripts()
#5 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#6 /wp-includes/plugin.php(517): WP_Hook->do_action()
#7 /wp-includes/general-template.php(3065): do_action()
#8 /wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php(631): wp_head()
#9 /wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php(603): WP_REST_Widget_Types_Controller->render_legacy_widget_preview_iframe()
#10 /wp-includes/rest-api/class-wp-rest-server.php(1230): WP_REST_Widget_Types_Controller->render()
#11 /wp-includes/rest-api/class-wp-rest-server.php(1063): WP_REST_Server->respond_to_request()
#12 /wp-includes/rest-api/class-wp-rest-server.php(439): WP_REST_Server->dispatch()
#13 /wp-includes/rest-api.php(420): WP_REST_Server->serve_request()
#14 /wp-includes/class-wp-hook.php(324): rest_api_loaded()
#15 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#16 /wp-includes/plugin.php(565): WP_Hook->do_action()
#17 /wp-includes/class-wp.php(418): do_action_ref_array()
#18 /wp-includes/class-wp.php(813): WP->parse_request()
#19 /wp-includes/functions.php(1336): WP->main()
#20 /wp-blog-header.php(16): wp()
#21 /index.php(17): require('...')
#22 {main}
  thrown in /wp-content/plugins/twenty20/inc/enqueue.php on line 15
[09-Aug-2024 11:19:13 UTC] PHP Fatal error:  Uncaught Error: Class "Elementor\Plugin" not found in /wp-content/plugins/twenty20/inc/enqueue.php:15
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): twenty20_zb_enqueue_script()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-includes/script-loader.php(2263): do_action()
#4 /wp-includes/class-wp-hook.php(324): wp_enqueue_scripts()
#5 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()

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