Smartcat Translator for WPML 3.1.51

Does Smartcat Integration for WPML work with WordPress 6.5.4 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.03 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.5.4
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=500c69da30
Aspect after-activation
HTTP status 200
Load time 0.691 s
Memory usage 3.48 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 1.283 s
Memory usage 3.62 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.212 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.188 s
Memory usage 3.47 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.203 s
Memory usage 3.46 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.240 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.389 s0.368 s-0.021 s3.44 MiB3.51 MiB+ 81.06 KiB
/wp-admin/edit.php0.281 s0.256 s-0.025 s3.46 MiB3.54 MiB+ 80.44 KiB
/wp-admin/upload.php0.618 s0.415 s-0.203 s3.38 MiB3.44 MiB+ 63.98 KiB
/wp-admin/options-writing.php0.231 s0.238 s+0.007 s3.37 MiB3.43 MiB+ 55.84 KiB
/wp-admin/media-new.php0.319 s0.494 s+0.175 s3.35 MiB3.43 MiB+ 80.13 KiB
/wp-admin/edit-tags.php?taxonomy=category0.199 s0.236 s+0.037 s3.37 MiB3.45 MiB+ 80.98 KiB
/wp-admin/options-discussion.php0.370 s0.257 s-0.113 s3.36 MiB3.42 MiB+ 66.45 KiB
/wp-admin/edit-comments.php0.254 s0.270 s+0.016 s3.39 MiB3.46 MiB+ 68.62 KiB
/0.325 s0.246 s-0.079 s3.42 MiB3.43 MiB+ 7.75 KiB
Average 0.332 s0.309 s-0.023 s3.39 MiB3.46 MiB+ 65.03 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
CSS
Language % Lines of code Comment lines Files
PHP79.2%12,2211,626204
JavaScript11.3%1,746642
CSS8.8%1,365202
PO File0.6%91151
SVG0.1%1604
Total 15,439 1,725 213

PHP Code Analysis | More results »

Lines of code 12,001
Total complexity 1,721
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,002
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

[11-Jun-2024 12:22:24 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
[11-Jun-2024 12:22:24 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
[11-Jun-2024 12:22:24 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
[11-Jun-2024 12:22:24 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
[11-Jun-2024 12:22:32 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(1714): do_action()
#4 /wp-admin/edit-form-blocks.php(276): 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
[11-Jun-2024 12:22:34 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(1714): do_action()
#4 /wp-admin/edit-form-blocks.php(276): 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