• Resolved ntamilvanan

    (@ntamilvanan)


    Hustle V6.0

    Showing “No results found” in Email lists drop-down after clicking the “Fetch lists” button with API Key.
    Email service provider – MailChimp
    Checked with WP basic themes and uninstalled all other plugins.

    Lists are fetching correctly with same API key in another one site ( https://travelshoptour.com/about-us/ – WPv4.8.2 ).

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello @ntamilvanan

    Hope all is well!

    Would you please make sure that there is no empty space added to the API Key field?

    If this is not a case, please create a new API key on MailChimp here, and try fetching the list this new API Key. Please see this screenshot:

    Let us know how it went!

    Kind regards,
    Nastia

    Thread Starter ntamilvanan

    (@ntamilvanan)

    Thanks for your response.

    I have tried what you have said in the above point,
    – API key without space
    – by creating new api key
    But it doesn’t fetch any mail list for me.

    In MailChimp dashboard, I have checked the “Last 24 hours of API calls”. In that there is no relevant user agent.

    Actually, it’s working in another one server wordpress site (WPv4.8.2). But it’s not working in this wordpress site only (WPv4.9.1)

    Hello @ntamilvanan

    I could not reproduce the issue on my end with WordPress 4.9.1. and Hustle 6.0. Please enable WordPress debug; place the following to the wp-config.php file, right above /* That's all, stop editing! Happy blogging. */ line :

    
    define( 'WP_DEBUG', true );
    define( 'WP_DEBUG_LOG', true );
    define( 'WP_DEBUG_DISPLAY', false );
    

    Check if there is define( 'WP_DEBUG', true ); already added. If it is, please replace it with the define rule above.

    Go to Hustle > PopUp, edit opt-in and try to fetch the MailChimp’s Email list again. This way all errors will be saved in the debug.log file inside the /wp-content/ directory. Please upload the debug.log file to Dropbox or Google Drive and share a download link with us.

    Looking forward to your reply!

    Kind regards,
    Nastia

    Thread Starter ntamilvanan

    (@ntamilvanan)

    Thanks for your response.

    Only notices are showing in the log file.

    PHP Notice: Undefined property: WP_Error::$lists in /server_dir/wp-content/plugins/wordpress-popup/inc/providers/opt-in-mailchimp.php on line 221
    PHP Notice: Undefined property: WP_Error::$total_items in /server_dir/wp-content/plugins/wordpress-popup/inc/providers/opt-in-mailchimp.php on line 222
    PHP Notice: Undefined property: WP_Error::$total_items in /server_dir/wp-content/plugins/wordpress-popup/inc/providers/opt-in-mailchimp.php on line 477
    PHP Notice: Undefined property: WP_Error::$categories in /server_dir/wp-content/plugins/wordpress-popup/inc/providers/opt-in-mailchimp.php on line 481
    PHP Notice: Array to string conversion in /server_dir/wp-includes/general-template.php on line 4230

    Currently, PHP version is 5.5.23

    PHP version was 5.2.17 after that server team upgraded using AppHandler ( They defined in .htaccess file – AddHandler application/x-httpd-php55 .php )

    Previously I’m getting the “Something went wrong. Please try again.” error while updating the Fetch lists. Below is the error message was came at that time,

    PHP Fatal error: Cannot use object of type WP_Error as array in /server_dir/wp-content/plugins/wordpress-popup/inc/providers/opt-in-mailchimp-api.php on line 58

    After that only I requested for upgrade from my server side team.

    Checked from php version using phpinfo function – 5.5.23

    While checking the php version from terminal ( using ssh )
    It showing 5.2.17.

    Is that reason for the issue?

    Hello @ntamilvanan

    I’ve tested the plugin with PHP 5.2.17 and could not reproduce the issue, Hustle is compatible with PHP 5.2. Though it is best to use a higher version of a PHP, please see WordPress requirements page.

    Looks like the plugin has trouble connecting to MailChimp. Please check if there are other plugins active, that integrated with MailChimp?

    Could you please see if the issue still occurs when all other plugins are deactivated? If everything is well, activate one plugin at a time to find the one that causes this.

    Let us know how it went

    Kind regards,
    Nastia

    Thread Starter ntamilvanan

    (@ntamilvanan)

    Hi,

    Plugin works fine after the re-deployment in another one server.

    It has the conflict with “WP Mail SMTP” plugin (Version 1.2.2). User inputs are not saved in Mailchimp when that plugin was active. After the deactication of that plugin only worked fine.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Mailchimp Email lists – No results found’ is closed to new replies.