• Resolved famarast

    (@famarast)


    Good morning, lately I’ve been having a series of errors and the site crashing immediately after each submission I make on mailchimp using the autologin links. Can you help me out? I’m seeing these errors:

    PHP Fatal error: Uncaught Error: Object of class WP_Error could not be converted to string in /web/htdocs/www.miosito.com/home/wp-content/plugins/wp-fusion-lite/includes/crms/mailchimp/class-mailchimp.php:538

    WARNING: [pool https://www.miosito.com] child 50622 said into stderr: “#0 /web/htdocs/www.miosito.com/home/wp-content/plugins/wp-fusion-lite/includes/crms/class-base.php(277): WPF_MailChimp->get_tags()”

    WARNING: [pool https://www.miosito.com] child 50622 said into stderr: “#1 /web/htdocs/www.miosito.com/home/wp-content/plugins/wp-fusion-lite/includes/crms/class-base.php(237): WPF_CRM_Base->request()”

    WARNING: [pool https://www.miosito.com] child 50622 said into stderr: “#2 /web/htdocs/www.miosito.com/home/wp-content/plugins/wp-fusion-lite/includes/class-auto-login.php(309): WPF_CRM_Base->__call()”

    WARNING: [pool https://www.miosito.com] child 50622 said into stderr: “#3 /web/htdocs/www.miosito.com/home/wp-content/plugins/wp-fusion-lite/includes/class-auto-login.php(159): WPF_Auto_Login->create_temp_user()”

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author verygoodplugins

    (@verygoodplugins)

    Hey @famarast ??, that’s a weird one ??

    Does the error trace go any farther back?

    And is this when you click the auto-login link in the email?

    Or when the email is actually sent?

    What happens if you visit an auto-login link manually in your browser? I just tried https://www.miosito.com/?cid=123 and didn’t get an error, but of course that’s not a real Mailchimp contact ID.

    And, are you using any custom code to modify WP Fusion?

    Basically, how it works is, someone visits the link like https://www.miosito.com/?cid=123 , and WP Fusion takes this ID 123 and uses it to connect to Mailchimp to load the person’s tags.

    In your case, something is replacing this ID with a WP_Error, which causes the tags to fail to load. But that shouldn’t be possible out of the box with WP Fusion… so something is either messing with the URL, or overwriting the API call to Mailchimp. It’s very unusual.

    Looking forward to your response. Best
    Jack

    Plugin Author verygoodplugins

    (@verygoodplugins)

    Hey @famarast I’m going to assume this issue is resolved and close the thread, but please let us know if it comes up again or we can assist further.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal Error after send newsletter with autologin link’ is closed to new replies.