• Resolved cbradshaw

    (@cbradshaw)


    Hi,
    I just installed your plugin and got error message

    Parse error: syntax error, unexpected ‘[‘ in /hermes/walnaweb12a/b38/……………….plugins/amazon-associates-link-builder/lib/php/aalb_tracking_api_helper.php on line 71

    Is this something my hosting company will need to fix ?

    Please advise.

    thanks

Viewing 9 replies - 1 through 9 (of 9 total)
  • I got the same error message on two different sites.

    same error
    Parse error: syntax error, unexpected ‘[‘ in /web/htdocs/www.*******.it/home/wp-content/plugins/amazon-associates-link-builder/lib/php/aalb_tracking_api_helper.php on line 71

    • This reply was modified 7 years, 11 months ago by NedLud2.
    Plugin Author Amazon Associates Link Builder

    (@amazonlinkbuilder)

    Thank you for sharing your feedback. We are closely tracking this issue and expect to fix it with next version of the plugin. Please note that the issue should only impact applications running on PHP version older than php-5.4.28.

    website-update-services

    (@website-update-services)

    Same issue here!
    amazon-associates-link-builder\lib\php\aalb_tracking_api_helper.php on line 71

    i have the same error.
    and i can’t upgrade my php version

    Me too!!
    /wp-content/plugins/amazon-associates-link-builder/lib/php/aalb_tracking_api_helper.php on line 71

    so if you have the error, you can fix it :
    /wp-content/plugins/amazon-associates-link-builder/lib/php/aalb_tracking_api_helper.php on line 71
    replace
    //return json_decode($response, true)[“link-id”];
    by
    $obj = json_decode($response,true);
    return $obj->{‘link-id’};

    and

    in wp-content/plugins/amazon-associates-link-builder/includes/aalb_config_loader.php
    replace
    //$updated_marketplace = [];
    by
    $updated_marketplace=array();

    Plugin Author Amazon Associates Link Builder

    (@amazonlinkbuilder)

    The issue with plugin activation failure on systems with PHP version < 5.4 is now fixed with v1.2. Please update the plugin to v1.2 and let us know if you still face any such issues.

    ok, it works. But for the Amazon Product Advertising API, after 12 months, I will pay or my account will remain free for the basic service?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Error Issue’ is closed to new replies.