Polylang 3.6.1

Does Polylang work with WordPress 6.5.3 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
396PHP warnings
64PHP notices
132PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 211.89 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.050 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.5.3
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 700,000+
WordPress.org page https://wordpress.org/plugins/polylang/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 6

Polylang › Setup

Page screenshot: Polylang › Setup
URL /wp-admin/admin.php?page=mlang_wizard
Requested URL /wp-admin/plugins.php?action=activate&plugin=polylang%2Fpolylang.php&plugin_status=all&paged=1&s&_wpnonce=8c4a3fb191
Aspect after-activation
HTTP status 200
Load time 1.472 s
Memory usage N/A
JS errors None
Resource errors None

Languages

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

Languages → Settings

Page screenshot: Languages → Settings
URL /wp-admin/admin.php?page=mlang_settings
Aspect menu-item
HTTP status 200
Load time 0.201 s
Memory usage 3.61 MiB
JS errors None
Resource errors None

Languages → Setup

Page screenshot: Languages → Setup
URL /wp-admin/admin.php?page=mlang_wizard
Aspect menu-item
HTTP status 200
Load time 0.157 s
Memory usage N/A
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.174 s
Memory usage 3.47 MiB
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.538 s
Memory usage 5.78 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.393 s0.331 s-0.062 s3.44 MiB3.66 MiB+ 233.21 KiB
/wp-admin/edit.php0.217 s0.211 s-0.006 s3.46 MiB3.69 MiB+ 234.16 KiB
/wp-admin/post-new.php0.954 s1.739 s+0.785 s5.59 MiB5.83 MiB+ 240.86 KiB
/wp-admin/upload.php0.532 s0.522 s-0.010 s3.38 MiB3.59 MiB+ 217.2 KiB
/wp-admin/options-writing.php0.209 s0.241 s+0.032 s3.37 MiB3.58 MiB+ 207.76 KiB
/wp-admin/media-new.php0.301 s0.285 s-0.016 s3.35 MiB3.57 MiB+ 227.99 KiB
/wp-admin/edit-tags.php?taxonomy=category0.208 s0.209 s+0.001 s3.37 MiB3.6 MiB+ 237.13 KiB
/wp-admin/post-new.php?post_type=page0.614 s0.696 s+0.082 s5.58 MiB5.82 MiB+ 242.16 KiB
/wp-admin/options-discussion.php0.236 s0.367 s+0.131 s3.36 MiB3.57 MiB+ 219.99 KiB
/wp-admin/edit-comments.php0.507 s0.265 s-0.242 s3.39 MiB3.6 MiB+ 215.96 KiB
/0.353 s0.203 s-0.150 s3.42 MiB3.47 MiB+ 54.41 KiB
Average 0.411 s0.461 s+0.050 s3.79 MiB4 MiB+ 211.89 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
Language % Lines of code Comment lines Files
PHP83.6%16,59314,290172
JavaScript9.0%1,78157210
CSS7.4%1,476384
Total 19,850 14,900 186

PHP Code Analysis | More results »

Lines of code 13,909
Total complexity 4,097
Median class complexity 21.5
Median method complexity 3.0
Most complex class PLL_WPML_Config
Most complex function PLL_Frontend_Auto_Translate::translate_included_ids_in_query()
Classes 128
Methods 955
Functions 51

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 3

Sidebar Widgets 1

ID Name
polylangLanguage switcher

PHP Error Log 592 lines

[07-May-2024 17:31:20 UTC] PHP Warning:  Undefined array key "HTTP_HOST" in /wp-config.php on line 174
[07-May-2024 17:31:20 UTC] PHP Warning:  Undefined array key "HTTP_HOST" in /wp-config.php on line 175
[07-May-2024 17:31:20 UTC] PHP Notice:  $_SERVER['HTTP_HOST'] or $_SERVER['REQUEST_URI'] are required but not set. in /wp-content/plugins/polylang/include/functions.php on line 108
[07-May-2024 17:31:20 UTC] PHP Notice:  $_SERVER['HTTP_HOST'] or $_SERVER['REQUEST_URI'] are required but not set. in /wp-content/plugins/polylang/include/functions.php on line 108
[07-May-2024 17:31:20 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 716
[07-May-2024 17:31:20 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-includes/canonical.php on line 716
[07-May-2024 17:31:20 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 717
[07-May-2024 17:31:20 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-includes/canonical.php on line 717
[07-May-2024 17:31:20 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 727
[07-May-2024 17:31:20 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 730
[07-May-2024 17:31:20 UTC] PHP Warning:  Undefined array key "scheme" in /wp-includes/canonical.php on line 751
[07-May-2024 17:31:20 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 716
[07-May-2024 17:31:20 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-includes/canonical.php on line 716
[07-May-2024 17:31:20 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 717
[07-May-2024 17:31:20 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-includes/canonical.php on line 717
[07-May-2024 17:31:20 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 727
[07-May-2024 17:31:20 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 730
[07-May-2024 17:31:20 UTC] PHP Warning:  Undefined array key "scheme" in /wp-includes/canonical.php on line 751
[07-May-2024 17:31:21 UTC] PHP Warning:  Undefined array key "HTTP_HOST" in /wp-config.php on line 174
[07-May-2024 17:31:21 UTC] PHP Warning:  Undefined array key "HTTP_HOST" in /wp-config.php on line 175
[07-May-2024 17:31:21 UTC] PHP Notice:  $_SERVER['HTTP_HOST'] or $_SERVER['REQUEST_URI'] are required but not set. in /wp-content/plugins/polylang/include/functions.php on line 108
[07-May-2024 17:31:21 UTC] PHP Notice:  $_SERVER['HTTP_HOST'] or $_SERVER['REQUEST_URI'] are required but not set. in /wp-content/plugins/polylang/include/functions.php on line 108
[07-May-2024 17:31:21 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 716
[07-May-2024 17:31:21 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-includes/canonical.php on line 716
[07-May-2024 17:31:21 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 717
[07-May-2024 17:31:21 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-includes/canonical.php on line 717
[07-May-2024 17:31:21 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 727
[07-May-2024 17:31:21 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 730
[07-May-2024 17:31:21 UTC] PHP Warning:  Undefined array key "scheme" in /wp-includes/canonical.php on line 751
[07-May-2024 17:31:21 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 716
[07-May-2024 17:31:21 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-includes/canonical.php on line 716
[07-May-2024 17:31:21 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 717
[07-May-2024 17:31:21 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-includes/canonical.php on line 717
[07-May-2024 17:31:21 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 727
[07-May-2024 17:31:21 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 730
[07-May-2024 17:31:21 UTC] PHP Warning:  Undefined array key "scheme" in /wp-includes/canonical.php on line 751
[07-May-2024 17:31:21 UTC] PHP Warning:  Undefined array key "HTTP_HOST" in /wp-config.php on line 174
[07-May-2024 17:31:21 UTC] PHP Warning:  Undefined array key "HTTP_HOST" in /wp-config.php on line 175
[07-May-2024 17:31:21 UTC] PHP Notice:  $_SERVER['HTTP_HOST'] or $_SERVER['REQUEST_URI'] are required but not set. in /wp-content/plugins/polylang/include/functions.php on line 108
[07-May-2024 17:31:21 UTC] PHP Notice:  $_SERVER['HTTP_HOST'] or $_SERVER['REQUEST_URI'] are required but not set. in /wp-content/plugins/polylang/include/functions.php on line 108
[07-May-2024 17:31:21 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 716
[07-May-2024 17:31:21 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-includes/canonical.php on line 716
[07-May-2024 17:31:21 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 717
[07-May-2024 17:31:21 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-includes/canonical.php on line 717
[07-May-2024 17:31:21 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 727
[07-May-2024 17:31:21 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 730
[07-May-2024 17:31:21 UTC] PHP Warning:  Undefined array key "scheme" in /wp-includes/canonical.php on line 751
[07-May-2024 17:31:21 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 716
[07-May-2024 17:31:21 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-includes/canonical.php on line 716
[07-May-2024 17:31:21 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 717
[07-May-2024 17:31:21 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-includes/canonical.php on line 717
[07-May-2024 17:31:21 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 727
[07-May-2024 17:31:21 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 730
[07-May-2024 17:31:21 UTC] PHP Warning:  Undefined array key "scheme" in /wp-includes/canonical.php on line 751
[07-May-2024 17:31:22 UTC] PHP Warning:  Undefined array key "HTTP_HOST" in /wp-config.php on line 174
[07-May-2024 17:31:22 UTC] PHP Warning:  Undefined array key "HTTP_HOST" in /wp-config.php on line 175
[07-May-2024 17:31:22 UTC] PHP Notice:  $_SERVER['HTTP_HOST'] or $_SERVER['REQUEST_URI'] are required but not set. in /wp-content/plugins/polylang/include/functions.php on line 108
[07-May-2024 17:31:22 UTC] PHP Notice:  $_SERVER['HTTP_HOST'] or $_SERVER['REQUEST_URI'] are required but not set. in /wp-content/plugins/polylang/include/functions.php on line 108
[07-May-2024 17:31:22 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 716
[07-May-2024 17:31:22 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-includes/canonical.php on line 716
[07-May-2024 17:31:22 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 717
[07-May-2024 17:31:22 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-includes/canonical.php on line 717
[07-May-2024 17:31:22 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 727
[07-May-2024 17:31:22 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 730
[07-May-2024 17:31:22 UTC] PHP Warning:  Undefined array key "scheme" in /wp-includes/canonical.php on line 751
[07-May-2024 17:31:22 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 716
[07-May-2024 17:31:22 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-includes/canonical.php on line 716
[07-May-2024 17:31:22 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 717
[07-May-2024 17:31:22 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-includes/canonical.php on line 717
[07-May-2024 17:31:22 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 727
[07-May-2024 17:31:22 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 730
[07-May-2024 17:31:22 UTC] PHP Warning:  Undefined array key "scheme" in /wp-includes/canonical.php on line 751
[07-May-2024 17:31:22 UTC] PHP Warning:  Undefined array key "HTTP_HOST" in /wp-config.php on line 174
[07-May-2024 17:31:22 UTC] PHP Warning:  Undefined array key "HTTP_HOST" in /wp-config.php on line 175
[07-May-2024 17:31:22 UTC] PHP Notice:  $_SERVER['HTTP_HOST'] or $_SERVER['REQUEST_URI'] are required but not set. in /wp-content/plugins/polylang/include/functions.php on line 108
[07-May-2024 17:31:22 UTC] PHP Notice:  $_SERVER['HTTP_HOST'] or $_SERVER['REQUEST_URI'] are required but not set. in /wp-content/plugins/polylang/include/functions.php on line 108
[07-May-2024 17:31:22 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 716
[07-May-2024 17:31:22 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-includes/canonical.php on line 716
[07-May-2024 17:31:22 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 717
[07-May-2024 17:31:22 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-includes/canonical.php on line 717
[07-May-2024 17:31:22 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 727
[07-May-2024 17:31:22 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 730
[07-May-2024 17:31:22 UTC] PHP Warning:  Undefined array key "scheme" in /wp-includes/canonical.php on line 751
[07-May-2024 17:31:22 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 716
[07-May-2024 17:31:22 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-includes/canonical.php on line 716
[07-May-2024 17:31:22 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 717
[07-May-2024 17:31:22 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-includes/canonical.php on line 717
[07-May-2024 17:31:22 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 727
[07-May-2024 17:31:22 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 730
[07-May-2024 17:31:22 UTC] PHP Warning:  Undefined array key "scheme" in /wp-includes/canonical.php on line 751
[07-May-2024 17:31:23 UTC] PHP Warning:  Undefined array key "HTTP_HOST" in /wp-config.php on line 174
[07-May-2024 17:31:23 UTC] PHP Warning:  Undefined array key "HTTP_HOST" in /wp-config.php on line 175
[07-May-2024 17:31:23 UTC] PHP Notice:  $_SERVER['HTTP_HOST'] or $_SERVER['REQUEST_URI'] are required but not set. in /wp-content/plugins/polylang/include/functions.php on line 108
[07-May-2024 17:31:23 UTC] PHP Notice:  $_SERVER['HTTP_HOST'] or $_SERVER['REQUEST_URI'] are required but not set. in /wp-content/plugins/polylang/include/functions.php on line 108
[07-May-2024 17:31:23 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 716
[07-May-2024 17:31:23 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-includes/canonical.php on line 716
[07-May-2024 17:31:23 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 717
[07-May-2024 17:31:23 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-includes/canonical.php on line 717
[07-May-2024 17:31:23 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 727
[07-May-2024 17:31:23 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 730

(+492 more lines)
See also: All tests for this plugin, How to Hide Polylang Admin Menus