wpLingua 2.0.1

Does wpLingua 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: 27.94 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/wplingua/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

wplingua: Register ‹ Test site — WordPress

Page screenshot: wplingua: Register ‹ Test site — WordPress
URL /wp-admin/admin.php?page=wplingua-settings
Requested URL /wp-admin/plugins.php?action=activate&plugin=wplingua%2Fwplingua.php&plugin_status=all&paged=1&s&_wpnonce=ae78d77eb8
Aspect after-activation
HTTP status 200
Load time 0.262 s
Memory usage 3.5 MiB
JS errors None
Resource errors None

wpLingua

Page screenshot: wpLingua
URL /wp-admin/admin.php?page=wplingua-settings
Aspect menu-item
HTTP status 200
Load time 0.177 s
Memory usage 3.52 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.204 s
Memory usage 3.42 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.416 s0.308 s-0.108 s3.47 MiB3.5 MiB+ 22.62 KiB
/wp-admin/edit.php0.214 s0.187 s-0.027 s3.54 MiB3.56 MiB+ 22.29 KiB
/wp-admin/post-new.php0.788 s1.028 s+0.240 s5.75 MiB5.77 MiB+ 23.13 KiB
/wp-admin/upload.php0.777 s0.428 s-0.349 s3.49 MiB3.49 MiB+ 4.88 KiB
/wp-admin/options-writing.php0.220 s0.213 s-0.007 s3.41 MiB3.48 MiB+ 67.69 KiB
/wp-admin/media-new.php0.271 s0.249 s-0.022 s3.4 MiB3.48 MiB+ 81.06 KiB
/wp-admin/edit-tags.php?taxonomy=category0.205 s0.201 s-0.004 s3.47 MiB3.5 MiB+ 27.74 KiB
/wp-admin/post-new.php?post_type=page1.124 s0.734 s-0.390 s5.75 MiB5.77 MiB+ 22.71 KiB
/wp-admin/options-discussion.php0.258 s0.242 s-0.016 s3.41 MiB3.48 MiB+ 69.38 KiB
/wp-admin/edit-comments.php0.496 s0.211 s-0.285 s3.49 MiB3.49 MiB+ 4.88 KiB
/0.385 s0.218 s-0.167 s3.45 MiB3.42 MiB- 39.03 KiB
Average 0.469 s0.365 s-0.103 s3.88 MiB3.9 MiB+ 27.94 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
PO File
Language % Lines of code Comment lines Files
PHP63.6%10,4312,33552
PO File36.3%5,9582,6995
CSS0.1%91359
JavaScript0.0%707
Total 16,405 5,169 73

PHP Code Analysis | More results »

Lines of code 10,642
Total complexity 1,608
Median class complexity 236.0
Median method complexity 2.0
Most complex class wplng_sdh_simple_html_dom_node
Most complex function wplng_data_languages()
Classes 2
Methods 90
Functions 182

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 2

PHP Error Log 46 lines

[01-Oct-2024 00:58:18 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
[01-Oct-2024 00:58:22 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 "wpLingua" Admin Menu