Smartcat Translator for WPML 3.1.37

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

Summary

Errors
1PHP fatal errors
2PHP notices
4Database errors
No JavaScript exceptions
1Page failed to load
  • 1 500 Internal Server Error
No resource errors
Performance

No data available.

Environment
WordPress version6.2.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 1

WordPress › Error

Page screenshot: WordPress › Error
URL /wp-admin/plugins.php?activate=true&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=3e9d102568
Aspect after-activation
HTTP status 500
Load time 0.191 s
Memory usage N/A
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
JavaScript
CSS
Language % Lines of code Comment lines Files
PHP80.8%11,4091,588200
JavaScript9.8%1,390632
CSS8.6%1,222182
PO File0.6%91151
SVG0.1%1604
Total 14,128 1,684 209

PHP Code Analysis | More results »

Lines of code 11,197
Total complexity 1,625
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 177
Methods 956
Functions 25

Additions

No data available.

PHP Error Log 18 lines

[14-Jul-2023 08:54:44 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
[14-Jul-2023 08:54:44 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
[14-Jul-2023 08:54:44 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
[14-Jul-2023 08:54:44 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
[14-Jul-2023 08:54:44 UTC] PHP Fatal error:  Uncaught Error: Call to a member function get_setting() on null in /wp-content/plugins/smartcat-wpml/admin/SmartcatAdmin.php:144
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): SmartcatAdmin->defaultEditorOption()
#1 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-settings.php(486): do_action()
#4 /wp-config.php(191): require_once('...')
#5 /wp-load.php(50): require_once('...')
#6 /wp-admin/admin.php(34): require_once('...')
#7 /wp-admin/plugins.php(10): require_once('...')
#8 {main}
  thrown in /wp-content/plugins/smartcat-wpml/admin/SmartcatAdmin.php on line 144
[14-Jul-2023 08:54:44 UTC] PHP Notice:  Function is_embed was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href="https://wordpress.org/documentation/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /wp-includes/functions.php on line 5865
[14-Jul-2023 08:54:44 UTC] PHP Notice:  Function is_search was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href="https://wordpress.org/documentation/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /wp-includes/functions.php on line 5865
See also: All tests for this plugin