Amazon Associates Link Builder 1.9.3

Does Amazon Associates Link Builder work with WordPress 6.5.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
1PHP fatal errors
48PHP warnings
1PHP deprecation warnings
18Unrecognized messages in the PHP error log
5JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

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

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

Environment
WordPress version6.5.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 50,000+
WordPress.org page https://wordpress.org/plugins/amazon-associates-link-builder/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 5

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=amazon-associates-link-builder%2Famazon-associates-link-builder.php&plugin_status=all&paged=1&s&_wpnonce=3c992bdb61
Aspect after-activation
HTTP status 200
Load time 0.724 s
Memory usage 3.63 MiB
JS errors
[
    {
        "message": "SyntaxError: Unexpected end of JSON input\n    at parse (<anonymous>)\n    at Function.<anonymous> (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,thickbox&ver=6.5.2:5:3161)\n    at Function.e.<computed> [as parseJSON] (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,thickbox&ver=6.5.2:5:1582)\n    at get_marketplaces_to_store_id_json (/wp-content/plugins/amazon-associates-link-builder/js/aalb_credentials.js?ver=1.9.3:224:42)\n    at /wp-content/plugins/amazon-associates-link-builder/js/aalb_credentials.js?ver=1.9.3:36:46\n    at /wp-content/plugins/amazon-associates-link-builder/js/aalb_credentials.js?ver=1.9.3:422:3",
        "trace": null,
        "code": null
    }
]
Resource errors None

Associates Link Builder

Page screenshot: Associates Link Builder
URL /wp-admin/admin.php?page=associates-link-builder-about
Aspect menu-item
HTTP status 200
Load time 0.349 s
Memory usage 3.61 MiB
JS errors
[
    {
        "message": "SyntaxError: Unexpected end of JSON input\n    at parse (<anonymous>)\n    at Function.<anonymous> (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,thickbox&ver=6.5.2:5:3161)\n    at Function.e.<computed> [as parseJSON] (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,thickbox&ver=6.5.2:5:1582)\n    at get_marketplaces_to_store_id_json (/wp-content/plugins/amazon-associates-link-builder/js/aalb_credentials.js?ver=1.9.3:224:42)\n    at /wp-content/plugins/amazon-associates-link-builder/js/aalb_credentials.js?ver=1.9.3:36:46\n    at /wp-content/plugins/amazon-associates-link-builder/js/aalb_credentials.js?ver=1.9.3:422:3",
        "trace": null,
        "code": null
    }
]
Resource errors None

Associates Link Builder → Settings

Page screenshot: Associates Link Builder → Settings
URL /wp-admin/admin.php?page=associates-link-builder-settings
Aspect menu-item
HTTP status 200
Load time 0.434 s
Memory usage N/A
JS errors
[
    {
        "message": "SyntaxError: Unexpected end of JSON input\n    at parse (<anonymous>)\n    at Function.<anonymous> (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,thickbox&ver=6.5.2:5:3161)\n    at Function.e.<computed> [as parseJSON] (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,thickbox&ver=6.5.2:5:1582)\n    at get_marketplaces_to_store_id_json (/wp-content/plugins/amazon-associates-link-builder/js/aalb_credentials.js?ver=1.9.3:224:42)\n    at /wp-content/plugins/amazon-associates-link-builder/js/aalb_credentials.js?ver=1.9.3:36:46\n    at /wp-content/plugins/amazon-associates-link-builder/js/aalb_credentials.js?ver=1.9.3:422:3",
        "trace": null,
        "code": null
    }
]
Resource errors None

Associates Link Builder → Templates

Page screenshot: Associates Link Builder → Templates
URL /wp-admin/admin.php?page=associates-link-builder-templates
Aspect menu-item
HTTP status 200
Load time 0.793 s
Memory usage 3.64 MiB
JS errors
[
    {
        "message": "SyntaxError: Unexpected end of JSON input\n    at parse (<anonymous>)\n    at Function.<anonymous> (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,thickbox&ver=6.5.2:5:3161)\n    at Function.e.<computed> [as parseJSON] (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,thickbox&ver=6.5.2:5:1582)\n    at get_marketplaces_to_store_id_json (/wp-content/plugins/amazon-associates-link-builder/js/aalb_credentials.js?ver=1.9.3:224:42)\n    at /wp-content/plugins/amazon-associates-link-builder/js/aalb_credentials.js?ver=1.9.3:36:46\n    at /wp-content/plugins/amazon-associates-link-builder/js/aalb_credentials.js?ver=1.9.3:422:3",
        "trace": null,
        "code": null
    },
    {
        "message": "ReferenceError: CodeMirror is not defined\n    at /wp-content/plugins/amazon-associates-link-builder/js/aalb_template.js?ver=1.9.3:13:22",
        "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.191 s
Memory usage 3.53 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.449 s0.554 s+0.105 s3.43 MiB3.63 MiB+ 195.52 KiB
/wp-admin/edit.php0.226 s0.396 s+0.170 s3.46 MiB3.71 MiB+ 258.09 KiB
/wp-admin/post-new.php0.975 s1.183 s+0.208 s5.59 MiB5.75 MiB+ 166.66 KiB
/wp-admin/upload.php0.665 s0.772 s+0.107 s3.38 MiB3.55 MiB+ 179.21 KiB
/wp-admin/options-writing.php0.246 s0.456 s+0.210 s3.37 MiB3.54 MiB+ 170.62 KiB
/wp-admin/media-new.php0.347 s0.491 s+0.144 s3.35 MiB3.54 MiB+ 191.41 KiB
/wp-admin/edit-tags.php?taxonomy=category0.217 s0.370 s+0.153 s3.37 MiB3.56 MiB+ 200.66 KiB
/wp-admin/post-new.php?post_type=page0.598 s0.808 s+0.210 s5.59 MiB5.74 MiB+ 162.29 KiB
/wp-admin/options-discussion.php0.342 s0.602 s+0.260 s3.36 MiB3.54 MiB+ 182.63 KiB
/wp-admin/edit-comments.php0.272 s0.391 s+0.119 s3.39 MiB3.56 MiB+ 177.61 KiB
/0.324 s0.223 s-0.101 s3.42 MiB3.53 MiB+ 112.75 KiB
Average 0.424 s0.568 s+0.144 s3.79 MiB3.97 MiB+ 181.59 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
JavaScript
CSS
Language % Lines of code Comment lines Files
PHP41.5%3,2152,87563
PO File24.2%1,8725733
JavaScript14.4%1,1124845
CSS14.1%1,090556
JSON2.9%22701
Mustache2.9%22505
Total 7,741 3,987 83

PHP Code Analysis | More results »

Lines of code 2,653
Total complexity 459
Median class complexity 6.0
Median method complexity 1.0
Most complex class AmazonAssociatesLinkBuilder\helper\Xml_Helper
Most complex function AmazonAssociatesLinkBuilder\helper\Xml_Helper::get_current_and_strike_price()
Classes 49
Methods 229
Functions 12

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 1

Options wp_options 12

PHP Error Log 79 lines

[10-Apr-2024 06:31:01 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[10-Apr-2024 06:31:01 UTC] PHP Deprecated:  Optional parameter $link_code declared before required parameter $asins is implicitly treated as a required parameter in /wp-content/plugins/amazon-associates-link-builder/rendering/impression_generator.php on line 46
[10-Apr-2024 06:31:01 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[10-Apr-2024 06:31:01 UTC] 410
[10-Apr-2024 06:31:02 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[10-Apr-2024 06:31:02 UTC] Network call Error on line 66 in /wp-content/plugins/amazon-associates-link-builder/io/curl_request.php:WP_ERROR: Forbidden
[10-Apr-2024 06:31:03 UTC] 410
[10-Apr-2024 06:31:03 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[10-Apr-2024 06:31:03 UTC] 410
[10-Apr-2024 06:31:04 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[10-Apr-2024 06:31:04 UTC] 410
[10-Apr-2024 06:31:04 UTC] PHP Fatal error:  Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /wp-content/plugins/amazon-associates-link-builder/helper/credentials_helper.php:150
Stack trace:
#0 /wp-content/plugins/amazon-associates-link-builder/helper/credentials_helper.php(150): count()
#1 /wp-content/plugins/amazon-associates-link-builder/helper/credentials_helper.php(130): AmazonAssociatesLinkBuilder\helper\Credentials_Helper->is_more_than_one_marketplaces_configured()
#2 /wp-content/plugins/amazon-associates-link-builder/view/sidebar_partials/credentials.php(26): AmazonAssociatesLinkBuilder\helper\Credentials_Helper->handle_error_notices()
#3 /wp-content/plugins/amazon-associates-link-builder/admin/sidebar.php(81): require_once('...')
#4 /wp-includes/class-wp-hook.php(324): AmazonAssociatesLinkBuilder\admin\sidebar\Sidebar->settings_callback()
#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/amazon-associates-link-builder/helper/credentials_helper.php on line 150
[10-Apr-2024 06:31:05 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[10-Apr-2024 06:31:05 UTC] 410
[10-Apr-2024 06:31:07 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[10-Apr-2024 06:31:08 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[10-Apr-2024 06:31:08 UTC] 410
[10-Apr-2024 06:31:08 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[10-Apr-2024 06:31:08 UTC] 410
[10-Apr-2024 06:31:08 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[10-Apr-2024 06:31:09 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[10-Apr-2024 06:31:09 UTC] 410
[10-Apr-2024 06:31:10 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[10-Apr-2024 06:31:10 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[10-Apr-2024 06:31:11 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[10-Apr-2024 06:31:11 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[10-Apr-2024 06:31:11 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[10-Apr-2024 06:31:11 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[10-Apr-2024 06:31:11 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[10-Apr-2024 06:31:11 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[10-Apr-2024 06:31:11 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[10-Apr-2024 06:31:11 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[10-Apr-2024 06:31:11 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[10-Apr-2024 06:31:11 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[10-Apr-2024 06:31:12 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[10-Apr-2024 06:31:12 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[10-Apr-2024 06:31:13 UTC] 410
[10-Apr-2024 06:31:13 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[10-Apr-2024 06:31:13 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[10-Apr-2024 06:31:13 UTC] 410
[10-Apr-2024 06:31:14 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[10-Apr-2024 06:31:14 UTC] 410
[10-Apr-2024 06:31:14 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[10-Apr-2024 06:31:14 UTC] 410
[10-Apr-2024 06:31:15 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[10-Apr-2024 06:31:15 UTC] 410
[10-Apr-2024 06:31:16 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[10-Apr-2024 06:31:16 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[10-Apr-2024 06:31:16 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[10-Apr-2024 06:31:16 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[10-Apr-2024 06:31:16 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[10-Apr-2024 06:31:16 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[10-Apr-2024 06:31:16 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[10-Apr-2024 06:31:16 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[10-Apr-2024 06:31:17 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[10-Apr-2024 06:31:17 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[10-Apr-2024 06:31:17 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[10-Apr-2024 06:31:18 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[10-Apr-2024 06:31:18 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[10-Apr-2024 06:31:18 UTC] 410
[10-Apr-2024 06:31:19 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[10-Apr-2024 06:31:19 UTC] 410
[10-Apr-2024 06:31:19 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[10-Apr-2024 06:31:19 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[10-Apr-2024 06:31:19 UTC] 410
[10-Apr-2024 06:31:20 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[10-Apr-2024 06:31:20 UTC] 410
[10-Apr-2024 06:31:20 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
See also: All tests for this plugin