Amazon Associates Link Builder 1.9.3

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

Summary

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

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

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

Environment
WordPress version6.8.1
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=8633d36273
Aspect after-activation
HTTP status 200
Load time 0.762 s
Memory usage 3.74 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.8.1: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.8.1: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.279 s
Memory usage 3.7 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.8.1: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.8.1: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.341 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.8.1: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.8.1: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.556 s
Memory usage 3.73 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.8.1: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.8.1: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.198 s
Memory usage 3.59 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.280 s0.359 s+0.079 s3.51 MiB3.72 MiB+ 217.8 KiB
/wp-admin/edit.php0.198 s0.311 s+0.113 s3.57 MiB3.8 MiB+ 237.95 KiB
/wp-admin/post-new.php0.657 s0.847 s+0.190 s6.06 MiB6.3 MiB+ 250.45 KiB
/wp-admin/upload.php0.624 s0.682 s+0.058 s3.52 MiB3.72 MiB+ 203.64 KiB
/wp-admin/options-writing.php0.182 s0.301 s+0.119 s3.5 MiB3.7 MiB+ 208.35 KiB
/wp-admin/media-new.php0.240 s0.351 s+0.111 s3.49 MiB3.7 MiB+ 216.55 KiB
/wp-admin/edit-tags.php?taxonomy=category0.150 s0.298 s+0.148 s3.5 MiB3.72 MiB+ 221.81 KiB
/wp-admin/post-new.php?post_type=page0.539 s1.103 s+0.564 s6.05 MiB6.29 MiB+ 245.98 KiB
/wp-admin/options-discussion.php0.264 s0.465 s+0.201 s3.5 MiB3.7 MiB+ 205.48 KiB
/wp-admin/edit-comments.php0.173 s0.291 s+0.118 s3.52 MiB3.72 MiB+ 204.51 KiB
/0.253 s0.195 s-0.058 s3.43 MiB3.59 MiB+ 164.59 KiB
Average 0.324 s0.473 s+0.149 s3.97 MiB4.18 MiB+ 216.1 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 76 lines

[30-Apr-2025 23:51:39 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[30-Apr-2025 23:51:39 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
[30-Apr-2025 23:51:39 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[30-Apr-2025 23:51:39 UTC] 410
[30-Apr-2025 23:51:40 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[30-Apr-2025 23:51:40 UTC] Network call Error on line 66 in /wp-content/plugins/amazon-associates-link-builder/io/curl_request.php:WP_ERROR: Forbidden
[30-Apr-2025 23:51:40 UTC] 410
[30-Apr-2025 23:51:41 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[30-Apr-2025 23:51:41 UTC] 410
[30-Apr-2025 23:51:42 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[30-Apr-2025 23:51:42 UTC] 410
[30-Apr-2025 23:51:42 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(260): do_action()
#8 {main}
  thrown in /wp-content/plugins/amazon-associates-link-builder/helper/credentials_helper.php on line 150
[30-Apr-2025 23:51:43 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[30-Apr-2025 23:51:43 UTC] 410
[30-Apr-2025 23:51:44 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[30-Apr-2025 23:51:45 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[30-Apr-2025 23:51:45 UTC] 410
[30-Apr-2025 23:51:45 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[30-Apr-2025 23:51:45 UTC] 410
[30-Apr-2025 23:51:46 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[30-Apr-2025 23:51:46 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[30-Apr-2025 23:51:46 UTC] 410
[30-Apr-2025 23:51:46 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[30-Apr-2025 23:51:47 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[30-Apr-2025 23:51:47 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[30-Apr-2025 23:51:47 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[30-Apr-2025 23:51:47 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[30-Apr-2025 23:51:47 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[30-Apr-2025 23:51:47 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[30-Apr-2025 23:51:47 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[30-Apr-2025 23:51:47 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[30-Apr-2025 23:51:47 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[30-Apr-2025 23:51:48 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[30-Apr-2025 23:51:48 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[30-Apr-2025 23:51:48 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[30-Apr-2025 23:51:48 UTC] 410
[30-Apr-2025 23:51:48 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[30-Apr-2025 23:51:48 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[30-Apr-2025 23:51:48 UTC] 410
[30-Apr-2025 23:51:49 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[30-Apr-2025 23:51:49 UTC] 410
[30-Apr-2025 23:51:49 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[30-Apr-2025 23:51:49 UTC] 410
[30-Apr-2025 23:51:49 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[30-Apr-2025 23:51:50 UTC] 410
[30-Apr-2025 23:51:51 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[30-Apr-2025 23:51:51 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[30-Apr-2025 23:51:51 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[30-Apr-2025 23:51:51 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[30-Apr-2025 23:51:51 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[30-Apr-2025 23:51:51 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[30-Apr-2025 23:51:51 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[30-Apr-2025 23:51:51 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[30-Apr-2025 23:51:52 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[30-Apr-2025 23:51:52 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[30-Apr-2025 23:51:52 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[30-Apr-2025 23:51:52 UTC] 410
[30-Apr-2025 23:51:52 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[30-Apr-2025 23:51:52 UTC] 410
[30-Apr-2025 23:51:52 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[30-Apr-2025 23:51:53 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[30-Apr-2025 23:51:53 UTC] 410
[30-Apr-2025 23:51:53 UTC] PHP Warning:  Constant TRUE already defined in /wp-content/plugins/amazon-associates-link-builder/plugin_config.php on line 114
[30-Apr-2025 23:51:53 UTC] 410
[30-Apr-2025 23:51:53 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