AM LottiePlayer 3.2.4

Does AM LottiePlayer work with WordPress 6.6.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
2PHP fatal errors
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 117.77 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.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 500+
WordPress.org page https://wordpress.org/plugins/am-lottieplayer/
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=am-lottieplayer%2Fam-lottieplayer.php&plugin_status=all&paged=1&s&_wpnonce=7bde6c733c
Aspect after-activation
HTTP status 200
Load time 0.571 s
Memory usage 3.58 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.286 s
Memory usage 3.49 MiB
JS errors None
Resource errors None

Dashboard ‹ Test site — WordPress

Page screenshot: Dashboard ‹ Test site — WordPress
URL /wp-admin/index.php
Aspect new-meta-boxes
HTTP status 200
Load time 0.343 s
Memory usage 3.56 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.582 s0.531 s-0.051 s3.47 MiB3.56 MiB+ 92.37 KiB
/wp-admin/edit.php0.376 s0.319 s-0.057 s3.54 MiB3.63 MiB+ 92.32 KiB
/wp-admin/post-new.php1.277 s1.392 s+0.115 s5.75 MiB5.93 MiB+ 179.65 KiB
/wp-admin/upload.php0.837 s0.379 s-0.458 s3.49 MiB3.61 MiB+ 120.7 KiB
/wp-admin/options-writing.php0.336 s0.338 s+0.002 s3.41 MiB3.55 MiB+ 137.72 KiB
/wp-admin/media-new.php0.424 s0.268 s-0.156 s3.4 MiB3.54 MiB+ 151.1 KiB
/wp-admin/edit-tags.php?taxonomy=category0.312 s0.208 s-0.104 s3.47 MiB3.57 MiB+ 97.77 KiB
/wp-admin/post-new.php?post_type=page0.925 s0.589 s-0.336 s5.75 MiB5.92 MiB+ 175.28 KiB
/wp-admin/options-discussion.php0.378 s0.257 s-0.121 s3.41 MiB3.54 MiB+ 139.41 KiB
/wp-admin/edit-comments.php0.611 s0.209 s-0.402 s3.49 MiB3.56 MiB+ 74.91 KiB
/0.480 s0.196 s-0.284 s3.45 MiB3.49 MiB+ 34.29 KiB
Average 0.594 s0.426 s-0.168 s3.88 MiB3.99 MiB+ 117.77 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
JSON
Language % Lines of code Comment lines Files
PHP85.5%3,57026126
JSON11.6%48503
HTML1.2%4902
SVG1.0%4104
CSS0.5%2107
JavaScript0.2%745
Total 4,173 265 47

PHP Code Analysis | More results »

Lines of code 3,469
Total complexity 245
Median class complexity 20.0
Median method complexity 1.0
Most complex class AM_LottiePlayer_Builders
Most complex function AM_LottiePlayer_Builders::frontend_enqueue()
Classes 11
Methods 59
Functions 15

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.

Meta Boxes

{
    "dashboard": {
        "am_lottieplayer_dashboard_widget": {
            "title": "AM LottiePlayer",
            "context": "normal"
        }
    }
}

PHP Error Log 46 lines

[30-Sep-2024 20:45:02 UTC] PHP Fatal error:  Uncaught TypeError: array_map(): Argument #2 ($array) must be of type array, stdClass given in /wp-includes/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php:202
Stack trace:
#0 /wp-includes/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php(202): array_map()
#1 /wp-includes/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php(176): WP_REST_Pattern_Directory_Controller->prepare_item_for_response()
#2 /wp-includes/rest-api/class-wp-rest-server.php(1230): WP_REST_Pattern_Directory_Controller->get_items()
#3 /wp-includes/rest-api/class-wp-rest-server.php(1063): WP_REST_Server->respond_to_request()
#4 /wp-includes/rest-api.php(547): WP_REST_Server->dispatch()
#5 /wp-includes/block-patterns.php(235): rest_do_request()
#6 /wp-includes/rest-api/endpoints/class-wp-rest-block-patterns-controller.php(107): _load_remote_block_patterns()
#7 /wp-includes/rest-api/class-wp-rest-server.php(1230): WP_REST_Block_Patterns_Controller->get_items()
#8 /wp-includes/rest-api/class-wp-rest-server.php(1063): WP_REST_Server->respond_to_request()
#9 /wp-includes/rest-api/class-wp-rest-server.php(439): WP_REST_Server->dispatch()
#10 /wp-includes/rest-api.php(420): WP_REST_Server->serve_request()
#11 /wp-includes/class-wp-hook.php(324): rest_api_loaded()
#12 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#13 /wp-includes/plugin.php(565): WP_Hook->do_action()
#14 /wp-includes/class-wp.php(418): do_action_ref_array()
#15 /wp-includes/class-wp.php(813): WP->parse_request()
#16 /wp-includes/functions.php(1336): WP->main()
#17 /wp-blog-header.php(16): wp()
#18 /index.php(17): require('...')
#19 {main}
  thrown in /wp-includes/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php on line 202
[30-Sep-2024 20:45:05 UTC] PHP Fatal error:  Uncaught TypeError: array_map(): Argument #2 ($array) must be of type array, stdClass given in /wp-includes/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php:202
Stack trace:
#0 /wp-includes/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php(202): array_map()
#1 /wp-includes/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php(176): WP_REST_Pattern_Directory_Controller->prepare_item_for_response()
#2 /wp-includes/rest-api/class-wp-rest-server.php(1230): WP_REST_Pattern_Directory_Controller->get_items()
#3 /wp-includes/rest-api/class-wp-rest-server.php(1063): WP_REST_Server->respond_to_request()
#4 /wp-includes/rest-api.php(547): WP_REST_Server->dispatch()
#5 /wp-includes/block-patterns.php(235): rest_do_request()
#6 /wp-includes/rest-api/endpoints/class-wp-rest-block-patterns-controller.php(107): _load_remote_block_patterns()
#7 /wp-includes/rest-api/class-wp-rest-server.php(1230): WP_REST_Block_Patterns_Controller->get_items()
#8 /wp-includes/rest-api/class-wp-rest-server.php(1063): WP_REST_Server->respond_to_request()
#9 /wp-includes/rest-api/class-wp-rest-server.php(439): WP_REST_Server->dispatch()
#10 /wp-includes/rest-api.php(420): WP_REST_Server->serve_request()
#11 /wp-includes/class-wp-hook.php(324): rest_api_loaded()
#12 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#13 /wp-includes/plugin.php(565): WP_Hook->do_action()
#14 /wp-includes/class-wp.php(418): do_action_ref_array()
#15 /wp-includes/class-wp.php(813): WP->parse_request()
#16 /wp-includes/functions.php(1336): WP->main()
#17 /wp-blog-header.php(16): wp()
#18 /index.php(17): require('...')
#19 {main}
  thrown in /wp-includes/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php on line 202
See also: All tests for this plugin, How to Hide the "AM LottiePlayer" Dashboard Widget