Title: Cannot set Default marketplace
Last modified: July 28, 2017

---

# Cannot set Default marketplace

 *  Resolved [jdlight04](https://wordpress.org/support/users/jdlight04/)
 * (@jdlight04)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/cannot-set-default-marketplace/)
 * I have an empty list when i try to choose the default marketplace..
    If i try
   to inspect the element i can see this error:
 * > Warning: Invalid argument supplied for foreach() in /membri/mySITE/wp-content/
   > plugins/amazon-associates-link-builder/admin/sidebar/partials/aalb_credentials.
   > php on line 79
 * ![Error](https://i0.wp.com/i.snag.gy/oj2t9e.jpg?ssl=1)
    -  This topic was modified 8 years, 9 months ago by [jdlight04](https://wordpress.org/support/users/jdlight04/).

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Amazon Associates Link Builder](https://wordpress.org/support/users/amazonlinkbuilder/)
 * (@amazonlinkbuilder)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/cannot-set-default-marketplace/#post-9365732)
 * Dear jdlight04,
 * The issue seems to be environment-specific. May you please share the below details
   with us to allow us to debug your issue:
 * 1. Plugin Version
    2. WordPress Version 3. PHP Version 4. Please check in wp_options
   table that keys like “aalb_plugin_version” and “aalb_aws_access_key” are present
   or not. 5. Please check in wp_options table that the key “aalb_marketplace_names”
   is present or not. If present, what is the value? 6. If “aalb_marketplace_names”
   is not present, please check if your network/firewall settings are blocking call
   to Amazon servers and do share the results of the same
 * Feel free to reach us here or write to us at [link-builder@amazon.com](https://wordpress.org/support/topic/cannot-set-default-marketplace/link-builder@amazon.com?output_format=md).
 *  Thread Starter [jdlight04](https://wordpress.org/support/users/jdlight04/)
 * (@jdlight04)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/cannot-set-default-marketplace/#post-9368019)
 * OK, i send more details to [link-builder@amazon.com](https://wordpress.org/support/topic/cannot-set-default-marketplace/link-builder@amazon.com?output_format=md).
   
   Thank you.
 *  Thread Starter [jdlight04](https://wordpress.org/support/users/jdlight04/)
 * (@jdlight04)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/cannot-set-default-marketplace/#post-9368227)
 * Ok, i solved by my self.
    It’s a problem due to altervista configuration.
    - Login into altervista
    - Go to **resources **tab
    - Php card > Edit php settings
    - Scroll down, and select External link, with no restriction
    - Altervista, maybe can ask you to send a message with a generated code
 * Thank you, amazonlinkbuilder for the suggestion.
 *  [nspatheja](https://wordpress.org/support/users/nspatheja/)
 * (@nspatheja)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/cannot-set-default-marketplace/#post-9524440)
 * I am still facing the same issue again and again
 *  [eugenia94](https://wordpress.org/support/users/eugenia94/)
 * (@eugenia94)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/cannot-set-default-marketplace/#post-10071493)
 * I am still facing the same issue again and again and I haven’t wp_options table.
 *  Plugin Author [Amazon Associates Link Builder](https://wordpress.org/support/users/amazonlinkbuilder/)
 * (@amazonlinkbuilder)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/cannot-set-default-marketplace/#post-10384849)
 * Dear users,
 * The issue is due to blocked call to “webservices.amazon.com” by your Hosting 
   provider or Firewall settings. Please get it whitelisted in your firewall settings
   or by asking your hosting provider.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Cannot set Default marketplace’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/amazon-associates-link-builder_fec375.
   svg)
 * [Amazon Associates Link Builder](https://wordpress.org/plugins/amazon-associates-link-builder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amazon-associates-link-builder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amazon-associates-link-builder/)
 * [Active Topics](https://wordpress.org/support/plugin/amazon-associates-link-builder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amazon-associates-link-builder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amazon-associates-link-builder/reviews/)

## Tags

 * [marketplace](https://wordpress.org/support/topic-tag/marketplace/)

 * 6 replies
 * 4 participants
 * Last reply from: [Amazon Associates Link Builder](https://wordpress.org/support/users/amazonlinkbuilder/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/cannot-set-default-marketplace/#post-10384849)
 * Status: resolved