AM LottiePlayer 3.3.0

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

Summary

Errors
The plugin could not be activated
1PHP fatal errors
No JavaScript exceptions
No resource errors
Performance

No data available.

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 1

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin=am-lottieplayer%2Fam-lottieplayer.php
Requested URL /wp-admin/plugins.php?action=activate&plugin=am-lottieplayer%2Fam-lottieplayer.php&plugin_status=all&paged=1&s&_wpnonce=25cb63884f
Aspect after-activation
HTTP status 200
Load time 0.335 s
Memory usage 3.49 MiB
JS errors None
Resource errors None

Benchmark

No benchmark data available.

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
PHP87.6%3,97937332
JSON9.9%45103
SVG0.9%4104
HTML0.9%4002
CSS0.5%2208
JavaScript0.2%846
Total 4,541 377 55

PHP Code Analysis | More results »

Lines of code 3,837
Total complexity 341
Median class complexity 20.0
Median method complexity 1.0
Most complex class AAMD_Lottie_Builders
Most complex function AAMD_Lottie_Builders::frontend_enqueue()
Classes 13
Methods 78
Functions 23

Additions

No data available.

PHP Error Log 18 lines

[28-Oct-2024 12:42:01 UTC] PHP Fatal error:  Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, cannot access private method AAMD_Lottie\Media::_lottie_filetypes() in /wp-includes/class-wp-hook.php:324
Stack trace:
#0 /wp-includes/plugin.php(205): WP_Hook->apply_filters()
#1 /wp-includes/functions.php(3291): apply_filters()
#2 /wp-admin/includes/file.php(954): wp_check_filetype_and_ext()
#3 /wp-admin/includes/file.php(1136): _wp_handle_upload()
#4 /wp-admin/includes/media.php(469): wp_handle_sideload()
#5 /wp-content/plugins/am-lottieplayer/includes/media.php(127): media_handle_sideload()
#6 /wp-content/plugins/am-lottieplayer/includes/media.php(193): AAMD_Lottie\Media::_media_sideload_lottie()
#7 /wp-content/plugins/am-lottieplayer/includes/media.php(215): AAMD_Lottie\Media::_lottie_asset()
#8 /wp-content/plugins/am-lottieplayer/am-lottieplayer.php(87): AAMD_Lottie\Media->set_default_file()
#9 /wp-includes/class-wp-hook.php(324): AAMD_Lottie::on_activation()
#10 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#11 /wp-includes/plugin.php(517): WP_Hook->do_action()
#12 /wp-admin/includes/plugin.php(703): do_action()
#13 /wp-admin/plugins.php(60): activate_plugin()
#14 {main}
  thrown in /wp-includes/class-wp-hook.php on line 324
See also: All tests for this plugin, How to Hide the "AM LottiePlayer" Dashboard Widget