Smartcat Translator for WPML 3.1.59

Does Smartcat Translator for WPML work with WordPress 6.7.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
2PHP fatal errors
4Database errors
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 65.95 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.7.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 90+
WordPress.org page https://wordpress.org/plugins/smartcat-wpml/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 6

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=smartcat-wpml%2Fsmartcat-wpml.php&plugin_status=all&paged=1&s&_wpnonce=41eca68d7b
Aspect after-activation
HTTP status 200
Load time 0.508 s
Memory usage 3.57 MiB
JS errors None
Resource errors None

Smartcat

Page screenshot: Smartcat
URL /wp-admin/admin.php?page=smartcat-wpml
Aspect menu-item
HTTP status 200
Load time 0.816 s
Memory usage 3.68 MiB
JS errors None
Resource errors None

Smartcat → Translation requests

Page screenshot: Smartcat → Translation requests
URL /wp-admin/admin.php?page=smartcat-wpml-dashboard
Aspect menu-item
HTTP status 200
Load time 0.219 s
Memory usage N/A
JS errors None
Resource errors None

Smartcat → Helper

Page screenshot: Smartcat → Helper
URL /wp-admin/admin.php?page=smartcat-wpml-faq
Aspect menu-item
HTTP status 200
Load time 0.198 s
Memory usage 3.54 MiB
JS errors None
Resource errors None

Smartcat → Logs

Page screenshot: Smartcat → Logs
URL /wp-admin/admin.php?page=smartcat-wpml-logs
Aspect menu-item
HTTP status 200
Load time 0.213 s
Memory usage 3.54 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.191 s
Memory usage 3.47 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.348 s0.350 s+0.002 s3.48 MiB3.56 MiB+ 83.59 KiB
/wp-admin/edit.php0.214 s0.216 s+0.002 s3.54 MiB3.62 MiB+ 82.6 KiB
/wp-admin/upload.php0.588 s0.361 s-0.227 s3.5 MiB3.56 MiB+ 65.29 KiB
/wp-admin/options-writing.php0.227 s0.353 s+0.126 s3.47 MiB3.54 MiB+ 69.28 KiB
/wp-admin/media-new.php0.364 s0.273 s-0.091 s3.46 MiB3.54 MiB+ 77.48 KiB
/wp-admin/edit-tags.php?taxonomy=category0.205 s0.232 s+0.027 s3.48 MiB3.56 MiB+ 88.14 KiB
/wp-admin/options-discussion.php0.479 s0.254 s-0.225 s3.48 MiB3.54 MiB+ 66.09 KiB
/wp-admin/edit-comments.php0.225 s0.260 s+0.035 s3.5 MiB3.56 MiB+ 65.28 KiB
/0.447 s0.226 s-0.221 s3.47 MiB3.47 MiB- 4.23 KiB
Average 0.344 s0.281 s-0.064 s3.49 MiB3.55 MiB+ 65.95 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
JSON
JavaScript
Language % Lines of code Comment lines Files
PHP60.1%12,4181,634204
JSON23.8%4,91601
JavaScript9.0%1,868652
CSS6.6%1,365202
PO File0.4%91151
SVG0.1%1604
Total 20,674 1,734 214

PHP Code Analysis | More results »

Lines of code 12,198
Total complexity 1,747
Median class complexity 4.0
Median method complexity 1.0
Most complex class Smartcat\Includes\Services\App\TranslationRequestService
Most complex function Smartcat\Includes\Services\WPML\WpmlContentService::save()
Classes 181
Methods 1,013
Functions 26

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 5

PHP Error Log 24 lines

[09-Apr-2025 17:27:14 UTC] WordPress database error Table 'wordpress.wp_smartcat_documents' doesn't exist for query alter table `wp_smartcat_documents` drop FOREIGN KEY `wp_smartcat_documents_post_id_foreign`; made by activate_plugin, plugin_sandbox_scrape, include_once('/plugins/smartcat-wpml/smartcat-wpml.php'), run, Smartcat\Includes\SmartcatWpml->__construct, Smartcat\Includes\SmartcatWpml->defineAdminHooks, Smartcat\Includes\Services\Plugin\Migrations->check
[09-Apr-2025 17:27:14 UTC] WordPress database error Table 'wordpress.wp_smartcat_documents' doesn't exist for query alter table `wp_smartcat_documents` drop FOREIGN KEY `wp_smartcat_documents_translated_post_id_foreign`; made by activate_plugin, plugin_sandbox_scrape, include_once('/plugins/smartcat-wpml/smartcat-wpml.php'), run, Smartcat\Includes\SmartcatWpml->__construct, Smartcat\Includes\SmartcatWpml->defineAdminHooks, Smartcat\Includes\Services\Plugin\Migrations->check
[09-Apr-2025 17:27:14 UTC] WordPress database error Table 'wordpress.wp_smartcat_documents' doesn't exist for query SHOW COLUMNS FROM `wp_smartcat_documents` LIKE 'api_version' made by activate_plugin, plugin_sandbox_scrape, include_once('/plugins/smartcat-wpml/smartcat-wpml.php'), run, Smartcat\Includes\SmartcatWpml->__construct, Smartcat\Includes\SmartcatWpml->defineAdminHooks, Smartcat\Includes\Services\Plugin\Migrations->check, Smartcat\Includes\Services\Plugin\Migrations->addApiVersionFiledToDocumentsTable
[09-Apr-2025 17:27:14 UTC] WordPress database error Table 'wordpress.wp_smartcat_documents' doesn't exist for query ALTER TABLE wp_smartcat_documents ADD api_version varchar(10) default 'v1' AFTER `is_active` made by activate_plugin, plugin_sandbox_scrape, include_once('/plugins/smartcat-wpml/smartcat-wpml.php'), run, Smartcat\Includes\SmartcatWpml->__construct, Smartcat\Includes\SmartcatWpml->defineAdminHooks, Smartcat\Includes\Services\Plugin\Migrations->check, Smartcat\Includes\Services\Plugin\Migrations->addApiVersionFiledToDocumentsTable
[09-Apr-2025 17:27:22 UTC] PHP Fatal error:  Uncaught Error: Call to a member function get_translatable_documents() on null in /wp-content/plugins/smartcat-wpml/admin/SmartcatAdmin.php:77
Stack trace:
#0 /wp-includes/class-wp-hook.php(326): SmartcatAdmin->registerSmartcatMetabox()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/includes/meta-boxes.php(1716): do_action()
#4 /wp-admin/edit-form-blocks.php(306): register_and_do_post_meta_boxes()
#5 /wp-admin/post-new.php(72): require('...')
#6 {main}
  thrown in /wp-content/plugins/smartcat-wpml/admin/SmartcatAdmin.php on line 77
[09-Apr-2025 17:27:23 UTC] PHP Fatal error:  Uncaught Error: Call to a member function get_translatable_documents() on null in /wp-content/plugins/smartcat-wpml/admin/SmartcatAdmin.php:77
Stack trace:
#0 /wp-includes/class-wp-hook.php(326): SmartcatAdmin->registerSmartcatMetabox()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/includes/meta-boxes.php(1716): do_action()
#4 /wp-admin/edit-form-blocks.php(306): register_and_do_post_meta_boxes()
#5 /wp-admin/post-new.php(72): require('...')
#6 {main}
  thrown in /wp-content/plugins/smartcat-wpml/admin/SmartcatAdmin.php on line 77
See also: All tests for this plugin