Wordpress Language 1.2.1

Does Wordpress Language work with WordPress 5.7 and PHP 7.4.8? A smoke test was performed on .

Summary

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

No data available.

Environment
WordPress version5.7
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 8,000+
WordPress.org page https://wordpress.org/plugins/wordpress-language/
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=wordpress-language%2Fwordpress-language.php
Requested URL /wp-admin/plugins.php?action=activate&plugin=wordpress-language%2Fwordpress-language.php&plugin_status=all&paged=1&s&_wpnonce=ee5692d5b2
Aspect after-activation
HTTP status 200
Load time 0.603 s
Memory usage 2.71 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
Language % Lines of code Comment lines Files
PHP89.9%1,571898
PO File4.9%8631
CSS3.0%5301
JavaScript2.1%3701
Total 1,747 92 11

PHP Code Analysis | More results »

Lines of code 1,368
Total complexity 291
Median class complexity 118.0
Median method complexity 2.0
Most complex class WordPress_language_class
Most complex function WordPress_language_class::language_menu()
Classes 3
Methods 53
Functions 8

Additions

No data available.

PHP Error Log 58 lines

[10-Mar-2021 16:08:17 UTC] WordPress database error Specified key was too long; max key length is 1000 bytes for query 
                CREATE TABLE `wp_icl_strings` (
                  `id` bigint(20) unsigned NOT NULL auto_increment,
                  `language` varchar(10) NOT NULL,
                  `context` varchar(160) NOT NULL,
                  `name` varchar(160) NOT NULL,
                  `value` text NOT NULL,
                  `status` TINYINT NOT NULL,
                  PRIMARY KEY  (`id`),
                  UNIQUE KEY `context_name` (`context`,`name`)
                ) ENGINE=MyISAM DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci made by activate_plugin, do_action('activate_wordpress-language/wordpress-language.php'), WP_Hook->do_action, WP_Hook->apply_filters, wp_language_activate
[10-Mar-2021 16:08:17 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function mysql_error() in /wp-content/plugins/wordpress-language/inc/schema.php:38
Stack trace:
#0 /wp-includes/class-wp-hook.php(292): wp_language_activate()
#1 /wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(484): WP_Hook->do_action()
#3 /wp-admin/includes/plugin.php(701): do_action()
#4 /wp-admin/plugins.php(58): activate_plugin()
#5 {main}
  thrown in /wp-content/plugins/wordpress-language/inc/schema.php on line 38
[10-Mar-2021 16:08:17 UTC] WordPress database error Specified key was too long; max key length is 1000 bytes for query 
                CREATE TABLE `wp_icl_strings` (
                  `id` bigint(20) unsigned NOT NULL auto_increment,
                  `language` varchar(10) NOT NULL,
                  `context` varchar(160) NOT NULL,
                  `name` varchar(160) NOT NULL,
                  `value` text NOT NULL,
                  `status` TINYINT NOT NULL,
                  PRIMARY KEY  (`id`),
                  UNIQUE KEY `context_name` (`context`,`name`)
                ) ENGINE=MyISAM DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci made by do_action('activate_wordpress-language/wordpress-language.php'), WP_Hook->do_action, WP_Hook->apply_filters, wp_language_activate
[10-Mar-2021 16:08:17 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function mysql_error() in /wp-content/plugins/wordpress-language/inc/schema.php:38
Stack trace:
#0 /wp-includes/class-wp-hook.php(292): wp_language_activate()
#1 /wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(484): WP_Hook->do_action()
#3 /wp-admin/plugins.php(193): do_action()
#4 {main}
  thrown in /wp-content/plugins/wordpress-language/inc/schema.php on line 38
[10-Mar-2021 16:08:17 UTC] WordPress database error Specified key was too long; max key length is 1000 bytes for query 
                CREATE TABLE `wp_icl_strings` (
                  `id` bigint(20) unsigned NOT NULL auto_increment,
                  `language` varchar(10) NOT NULL,
                  `context` varchar(160) NOT NULL,
                  `name` varchar(160) NOT NULL,
                  `value` text NOT NULL,
                  `status` TINYINT NOT NULL,
                  PRIMARY KEY  (`id`),
                  UNIQUE KEY `context_name` (`context`,`name`)
                ) ENGINE=MyISAM DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci made by do_action('activate_wordpress-language/wordpress-language.php'), WP_Hook->do_action, WP_Hook->apply_filters, wp_language_activate
[10-Mar-2021 16:08:17 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function mysql_error() in /wp-content/plugins/wordpress-language/inc/schema.php:38
Stack trace:
#0 /wp-includes/class-wp-hook.php(292): wp_language_activate()
#1 /wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(484): WP_Hook->do_action()
#3 /wp-admin/plugins.php(193): do_action()
#4 {main}
  thrown in /wp-content/plugins/wordpress-language/inc/schema.php on line 38
See also: All tests for this plugin