AI Translate 2.2.8

Does AI Translate work with WordPress 6.9.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
7Database errors
No JavaScript exceptions
1Page failed to load
  • 1 404 Not Found
No resource errors
Performance

Memory usage: 206.44 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.9.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 50+
WordPress.org page https://wordpress.org/plugins/ai-translate/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

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=ai-translate%2Fai-translate.php&plugin_status=all&paged=1&s&_wpnonce=f512f09ca8
Aspect after-activation
HTTP status 200
Load time 0.531 s
Memory usage 3.96 MiB
JS errors None
Resource errors None

AI Translate

Page screenshot: AI Translate
URL /wp-admin/admin.php?page=ai-translate
Aspect menu-item
HTTP status 200
Load time 0.739 s
Memory usage 3.9 MiB
JS errors None
Resource errors None

AI Translate → Cache

Page screenshot: AI Translate → Cache
URL /wp-admin/admin.php?page=ai-translate&tab=cache
Aspect menu-item-tab
HTTP status 200
Load time 0.410 s
Memory usage 3.9 MiB
JS errors None
Resource errors None

Page not found – Test site

Page screenshot: Page not found – Test site
URL /en/
Requested URL /
Aspect front-page
HTTP status 404
Load time 0.232 s
Memory usage 4.23 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.428 s0.340 s-0.088 s3.78 MiB3.96 MiB+ 188.54 KiB
/wp-admin/edit.php0.369 s0.389 s+0.020 s3.79 MiB4.02 MiB+ 240.83 KiB
/wp-admin/post-new.php0.882 s0.913 s+0.031 s6.31 MiB6.59 MiB+ 288.73 KiB
/wp-admin/upload.php0.627 s0.428 s-0.199 s3.74 MiB3.92 MiB+ 182.76 KiB
/wp-admin/options-writing.php0.333 s0.291 s-0.042 s3.72 MiB3.9 MiB+ 186.13 KiB
/wp-admin/media-new.php0.536 s0.323 s-0.213 s3.71 MiB3.9 MiB+ 194.32 KiB
/wp-admin/edit-tags.php?taxonomy=category0.318 s0.448 s+0.130 s3.72 MiB3.91 MiB+ 199.49 KiB
/wp-admin/post-new.php?post_type=page0.705 s0.676 s-0.029 s6.3 MiB6.58 MiB+ 282.23 KiB
/wp-admin/options-discussion.php0.338 s0.398 s+0.060 s3.72 MiB3.9 MiB+ 182.63 KiB
/wp-admin/edit-comments.php0.346 s0.334 s-0.012 s3.74 MiB3.92 MiB+ 182.13 KiB
/0.294 s0.204 s-0.090 s4.12 MiB4.26 MiB+ 143.05 KiB
Average 0.471 s0.431 s-0.039 s4.24 MiB4.44 MiB+ 206.44 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
PHP45.2%10,6032,93813
PO File42.9%10,0622,91021
JavaScript7.7%1,8132794
CSS3.2%760393
Markdown0.9%20201
Total 23,440 6,166 42

PHP Code Analysis | More results »

Lines of code 10,790
Total complexity 2,354
Median class complexity 162.0
Median method complexity 5.0
Most complex class AITranslate\AI_OB
Most complex function AITranslate\AI_Batch::translate_plan()
Classes 14
Methods 179
Functions 21

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.

Database Tables 2

Options wp_options 6

PHP Error Log 7 lines

[16-Feb-2026 13:39:02 UTC] WordPress database error Duplicate key name 'post_lang' for query ALTER TABLE `wp_ai_translate_cache_meta` ADD UNIQUE KEY post_lang (post_id, language_code) made by activate_plugin, do_action('activate_ai-translate/ai-translate.php'), WP_Hook->do_action, WP_Hook->apply_filters, {closure}, AITranslate\AI_Cache_Meta::create_table, AITranslate\AI_Cache_Meta::ensure_indexes
[16-Feb-2026 13:39:02 UTC] WordPress database error Duplicate key name 'post_id' for query ALTER TABLE `wp_ai_translate_cache_meta` ADD KEY post_id (post_id) made by activate_plugin, do_action('activate_ai-translate/ai-translate.php'), WP_Hook->do_action, WP_Hook->apply_filters, {closure}, AITranslate\AI_Cache_Meta::create_table, AITranslate\AI_Cache_Meta::ensure_indexes
[16-Feb-2026 13:39:02 UTC] WordPress database error Duplicate key name 'language_code' for query ALTER TABLE `wp_ai_translate_cache_meta` ADD KEY language_code (language_code) made by activate_plugin, do_action('activate_ai-translate/ai-translate.php'), WP_Hook->do_action, WP_Hook->apply_filters, {closure}, AITranslate\AI_Cache_Meta::create_table, AITranslate\AI_Cache_Meta::ensure_indexes
[16-Feb-2026 13:39:02 UTC] WordPress database error Duplicate key name 'created_at' for query ALTER TABLE `wp_ai_translate_cache_meta` ADD KEY created_at (created_at) made by activate_plugin, do_action('activate_ai-translate/ai-translate.php'), WP_Hook->do_action, WP_Hook->apply_filters, {closure}, AITranslate\AI_Cache_Meta::create_table, AITranslate\AI_Cache_Meta::ensure_indexes
[16-Feb-2026 13:39:02 UTC] WordPress database error Duplicate key name 'language_created' for query ALTER TABLE `wp_ai_translate_cache_meta` ADD KEY language_created (language_code, created_at) made by activate_plugin, do_action('activate_ai-translate/ai-translate.php'), WP_Hook->do_action, WP_Hook->apply_filters, {closure}, AITranslate\AI_Cache_Meta::create_table, AITranslate\AI_Cache_Meta::ensure_indexes
[16-Feb-2026 13:39:02 UTC] WordPress database error Duplicate key name 'post_id_created' for query ALTER TABLE `wp_ai_translate_cache_meta` ADD KEY post_id_created (post_id, created_at) made by activate_plugin, do_action('activate_ai-translate/ai-translate.php'), WP_Hook->do_action, WP_Hook->apply_filters, {closure}, AITranslate\AI_Cache_Meta::create_table, AITranslate\AI_Cache_Meta::ensure_indexes
[16-Feb-2026 13:39:02 UTC] WordPress database error Duplicate key name 'cache_hash' for query ALTER TABLE `wp_ai_translate_cache_meta` ADD KEY cache_hash (cache_hash) made by activate_plugin, do_action('activate_ai-translate/ai-translate.php'), WP_Hook->do_action, WP_Hook->apply_filters, {closure}, AITranslate\AI_Cache_Meta::create_table, AITranslate\AI_Cache_Meta::ensure_indexes
See also: All tests for this plugin, How to Hide the "AI Translate" Admin Menu