• I have successfully been using the Amazon Associates Link Builder on many sites since it was released. I am currently working on building a multisite and running into issues.

    For reference:
    Apache
    PHP 7.2.0
    MySQL 5.6.34
    WordPress 4.9.8
    Plugin Version 1.8
    Error on all browsers (Safari, Chrome, Brave)
    Running MacBook Pro, latest OS build
    On a Flywheel LocalSite.

    After installing the plugin on my Network Admin page, and then doing a network activate, I can not edit the plugin settings on any of my multi-sites.

    When I go to the plugin settings page, I see the following errors and cannot save changes after entering my API credentials. The save changes button non-responsive, and yes, I have checked the box to agree to the Conditions of Use.

    Warning: count(): Parameter must be an array or an object that implements Countable in /app/public/wp-content/plugins/amazon-associates-link-builder/helper/credentials_helper.php on line 150

    Call Stack
    # Time Memory Function Location
    1 0.0011 401416 {main}( ) …/admin.php:0
    2 1.4146 10032304 do_action( ) …/admin.php:224
    3 1.4146 10032680 WP_Hook->do_action( ) …/plugin.php:453
    4 1.4146 10032680 WP_Hook->apply_filters( ) …/class-wp-hook.php:310
    5 1.4147 10033808 AmazonAssociatesLinkBuilder\admin\sidebar\Sidebar->settings_callback( ) …/class-wp-hook.php:286
    6 1.4159 10034352 require_once( ‘/app/public/wp-content/plugins/amazon-associates-link-builder/view/sidebar_partials/credentials.php’ ) …/sidebar.php:81
    7 1.4215 10034392 AmazonAssociatesLinkBuilder\helper\Credentials_Helper->handle_error_notices( ) …/credentials.php:26
    8 1.4215 10034392 AmazonAssociatesLinkBuilder\helper\Credentials_Helper->is_more_than_one_marketplaces_configured( ) …/credentials_helper.php:130
    9 1.4216 10034392 count ( ) …/credentials_helper.php:150

    • This topic was modified 7 years, 8 months ago by MikeX3. Reason: added information
    • This topic was modified 7 years, 8 months ago by MikeX3. Reason: added information

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘MultiSite issue credentials_helper.php’ is closed to new replies.