Smartling Connector 3.9.9

Does Smartling Connector work with WordPress 6.6.2 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 1013.79 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.136 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.6.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs <10
WordPress.org page https://wordpress.org/plugins/smartling-connector/
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=smartling-connector%2Fsmartling-connector.php&plugin_status=all&paged=1&s&_wpnonce=e481f73e04
Aspect after-activation
HTTP status 200
Load time 0.845 s
Memory usage 5.24 MiB
JS errors
[
    {
        "message": "ReferenceError: wp is not defined\n    at addSmartlingGutenbergLockAttributes (/wp-content/plugins/smartling-connector/js/smartling-connector-gutenberg-lock-attributes.js?ver=3.9.9:6:5)\n    at /wp-content/plugins/smartling-connector/js/smartling-connector-gutenberg-lock-attributes.js?ver=3.9.9:46:1",
        "trace": null,
        "code": null
    }
]
Resource errors None

Smartling

Page screenshot: Smartling
URL /wp-admin/admin.php?page=smartling-submissions-page
Aspect menu-item
HTTP status 200
Load time 0.326 s
Memory usage 4.65 MiB
JS errors
[
    {
        "message": "ReferenceError: wp is not defined\n    at addSmartlingGutenbergLockAttributes (/wp-content/plugins/smartling-connector/js/smartling-connector-gutenberg-lock-attributes.js?ver=3.9.9:6:5)\n    at /wp-content/plugins/smartling-connector/js/smartling-connector-gutenberg-lock-attributes.js?ver=3.9.9:46:1",
        "trace": null,
        "code": null
    }
]
Resource errors None

Smartling → Taxonomy links

Page screenshot: Smartling → Taxonomy links
URL /wp-admin/admin.php?page=smartling_taxonomy_links
Aspect menu-item
HTTP status 200
Load time 0.313 s
Memory usage N/A
JS errors
[
    {
        "message": "ReferenceError: wp is not defined\n    at addSmartlingGutenbergLockAttributes (/wp-content/plugins/smartling-connector/js/smartling-connector-gutenberg-lock-attributes.js?ver=3.9.9:6:5)\n    at /wp-content/plugins/smartling-connector/js/smartling-connector-gutenberg-lock-attributes.js?ver=3.9.9:46:1",
        "trace": null,
        "code": null
    },
    {
        "message": "TypeError: Cannot read properties of undefined (reading 'hasFilter')\n    at addSmartlingGutenbergLockAttributes (/wp-content/plugins/smartling-connector/js/smartling-connector-gutenberg-lock-attributes.js?ver=3.9.9:6:18)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/smartling-connector/js/smartling-connector-admin.js?ver=3.9.9:335:5)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.6.2:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.6.2:2:27330)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Smartling → Test run

Page screenshot: Smartling → Test run
URL /wp-admin/admin.php?page=smartling_test_run
Aspect menu-item
HTTP status 200
Load time 0.296 s
Memory usage N/A
JS errors
[
    {
        "message": "ReferenceError: wp is not defined\n    at addSmartlingGutenbergLockAttributes (/wp-content/plugins/smartling-connector/js/smartling-connector-gutenberg-lock-attributes.js?ver=3.9.9:6:5)\n    at /wp-content/plugins/smartling-connector/js/smartling-connector-gutenberg-lock-attributes.js?ver=3.9.9:46:1",
        "trace": null,
        "code": null
    },
    {
        "message": "TypeError: Cannot read properties of undefined (reading 'hasFilter')\n    at addSmartlingGutenbergLockAttributes (/wp-content/plugins/smartling-connector/js/smartling-connector-gutenberg-lock-attributes.js?ver=3.9.9:6:18)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/smartling-connector/js/smartling-connector-admin.js?ver=3.9.9:335:5)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.6.2:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.6.2:2:27330)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Smartling → Settings

Page screenshot: Smartling → Settings
URL /wp-admin/admin.php?page=smartling_configuration_profile_list
Aspect menu-item
HTTP status 200
Load time 0.333 s
Memory usage 4.8 MiB
JS errors
[
    {
        "message": "ReferenceError: wp is not defined\n    at addSmartlingGutenbergLockAttributes (/wp-content/plugins/smartling-connector/js/smartling-connector-gutenberg-lock-attributes.js?ver=3.9.9:6:5)\n    at /wp-content/plugins/smartling-connector/js/smartling-connector-gutenberg-lock-attributes.js?ver=3.9.9:46:1",
        "trace": null,
        "code": null
    }
]
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.186 s
Memory usage 3.99 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.318 s0.439 s+0.121 s3.47 MiB4.53 MiB+ 1.05 MiB
/wp-admin/edit.php0.188 s0.352 s+0.164 s3.54 MiB4.58 MiB+ 1.05 MiB
/wp-admin/post-new.php0.746 s0.841 s+0.095 s5.75 MiB6.85 MiB+ 1.09 MiB
/wp-admin/upload.php0.619 s0.653 s+0.034 s3.49 MiB4.46 MiB+ 996.6 KiB
/wp-admin/options-writing.php0.218 s0.396 s+0.178 s3.41 MiB4.44 MiB+ 1.03 MiB
/wp-admin/media-new.php0.238 s0.417 s+0.179 s3.4 MiB4.44 MiB+ 1.04 MiB
/wp-admin/edit-tags.php?taxonomy=category0.214 s0.345 s+0.131 s3.47 MiB4.48 MiB+ 1.01 MiB
/wp-admin/post-new.php?post_type=page0.564 s0.633 s+0.069 s5.75 MiB6.83 MiB+ 1.08 MiB
/wp-admin/options-discussion.php0.268 s0.479 s+0.211 s3.41 MiB4.44 MiB+ 1.03 MiB
/wp-admin/edit-comments.php0.236 s0.583 s+0.347 s3.49 MiB4.48 MiB+ 1014.26 KiB
/0.298 s0.262 s-0.036 s3.45 MiB3.99 MiB+ 553.24 KiB
Average 0.355 s0.491 s+0.136 s3.88 MiB4.87 MiB+ 1013.79 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
Language % Lines of code Comment lines Files
PHP84.3%91,19428,406971
JavaScript5.0%5,42439817
Markdown4.1%4,450033
YAML3.9%4,20711843
JSON1.8%1,923020
CSS0.4%46053
XML0.2%226512
XSD0.2%19702
PO File0.0%54191
HTML0.0%1501
Dockerfile0.0%1001
make0.0%901
Total 108,169 28,951 1,105

PHP Code Analysis | More results »

Lines of code 70,037
Total complexity 13,095
Median class complexity 7.0
Median method complexity 1.0
Most complex class Smartling\Vendor\Symfony\Component\DependencyInjection\Dumper\PhpDumper
Most complex function Smartling\Vendor\Symfony\Polyfill\Intl\Idn\Resources\unidata\DisallowedRanges::inRange()
Classes 793
Methods 5,157
Functions 132

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 6

Options wp_options 2

Capabilities 3

PHP Error Log 24 lines

[18-Sep-2024 17:03:59 UTC] PHP Fatal error:  Uncaught Smartling\Exception\SmartlingDirectRunRuntimeException: Direct run detected. Required run as Wordpress plugin. in /wp-content/plugins/smartling-connector/inc/Smartling/Helpers/SiteHelper.php:52
Stack trace:
#0 /wp-content/plugins/smartling-connector/inc/Smartling/Helpers/SiteHelper.php(106): Smartling\Helpers\SiteHelper->directRunDetectedFallback()
#1 /wp-content/plugins/smartling-connector/inc/Smartling/WP/Controller/TaxonomyLinksController.php(86): Smartling\Helpers\SiteHelper->getCurrentSiteId()
#2 /wp-content/plugins/smartling-connector/inc/Smartling/WP/Controller/TaxonomyLinksController.php(33): Smartling\WP\Controller\TaxonomyLinksController->getBlogs()
#3 /wp-content/plugins/smartling-connector/inc/Smartling/WP/Controller/TaxonomyLinksController.php(79): Smartling\WP\Controller\TaxonomyLinksController->buildViewData()
#4 /wp-includes/class-wp-hook.php(324): Smartling\WP\Controller\TaxonomyLinksController->taxonomyLinksWidget()
#5 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#6 /wp-includes/plugin.php(517): WP_Hook->do_action()
#7 /wp-admin/admin.php(259): do_action()
#8 {main}
  thrown in /wp-content/plugins/smartling-connector/inc/Smartling/Helpers/SiteHelper.php on line 52
[18-Sep-2024 17:04:00 UTC] PHP Fatal error:  Uncaught Smartling\Exception\SmartlingDirectRunRuntimeException: Direct run detected. Required run as Wordpress plugin. in /wp-content/plugins/smartling-connector/inc/Smartling/Helpers/SiteHelper.php:52
Stack trace:
#0 /wp-content/plugins/smartling-connector/inc/Smartling/Helpers/SiteHelper.php(106): Smartling\Helpers\SiteHelper->directRunDetectedFallback()
#1 /wp-content/plugins/smartling-connector/inc/Smartling/WP/Controller/TestRunController.php(150): Smartling\Helpers\SiteHelper->getCurrentSiteId()
#2 /wp-content/plugins/smartling-connector/inc/Smartling/WP/Controller/TestRunController.php(86): Smartling\WP\Controller\TestRunController->getBlogs()
#3 /wp-content/plugins/smartling-connector/inc/Smartling/WP/Controller/TestRunController.php(137): Smartling\WP\Controller\TestRunController->buildViewData()
#4 /wp-includes/class-wp-hook.php(324): Smartling\WP\Controller\TestRunController->widget()
#5 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#6 /wp-includes/plugin.php(517): WP_Hook->do_action()
#7 /wp-admin/admin.php(259): do_action()
#8 {main}
  thrown in /wp-content/plugins/smartling-connector/inc/Smartling/Helpers/SiteHelper.php on line 52
See also: All tests for this plugin