Support » Plugin: Post SMTP Mailer/Email Log » Invalid type. Expected: object, given: string.

  • Resolved George

    (@subscriptiongroup)


    Hello,

    Upon updating to v1.8.1, we get “Invalid type. Expected: object, given: string.” on the status of some emails. I’ve so far noticed this issue on WooCommerce order confirmation emails.

    Reverting to v1.8 resolves the issue.

    We use SendGrid.

    PHP v7.0
    WP v4.9.4
    Post SMTP v1.8.1

Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Author yehudah

    (@yehudah)

    Hi

    All woocomerce order emails failing ?

    Thread Starter George

    (@subscriptiongroup)

    Hi, i noticed on the order confirmation emails only. It wasn’t happening for all transactional emails sent

    Same here. All emails are broken as of this morning when we updated to the latest version.

    Plugin Author yehudah

    (@yehudah)

    @jpatrickm

    Everything or just woocommerce ?

    Everything. I”m not using Woocommerce. I am also using Sendgrid however. When I do a test email, I get “Invalid type. Expected: object, given: string.”

    Plugin Author yehudah

    (@yehudah)

    @jpatrickm

    Can you paste here the “Session Transcript” in the last step after you send the test email ?

    I had to revert back to old version since this is a live production site. I’ll have to test this later when I have some time to put the new plugin back in.

    Plugin Author yehudah

    (@yehudah)

    Any chance you can send me the email address you used for testing?
    maybe something in the email structure causing it…

    if yes, please send it to me here:
    https://postmansmtp.com/contact/

    Plugin Author yehudah

    (@yehudah)

    @subscriptiongroup, @jpatrickm

    I think I figure out the problem, I released version 1.8.2.
    It will be great if you can update and give me your feedback.

    Same error. I sent you the session transcript to your /contact/ form.

    Plugin Author yehudah

    (@yehudah)

    Released yesterday another version, and did a lot of testing 🙂
    Please try.

    Thread Starter George

    (@subscriptiongroup)

    Thanks, i’ll test now.

    Where’s the main repo for this plugin? The one on github doesn’t have the most recent changes

    Plugin Author yehudah

    (@yehudah)

    Hi

    The plugin is hosted on wordpress plugins main svn.

    The github was created by so I will get an extra help, but no help there so I’m less updating it.

    Thread Starter George

    (@subscriptiongroup)

    Hi,

    It seems to be working fine so far. I’ll keep an eye on it for the rest of the day and mark as resolved.

    Thread Starter George

    (@subscriptiongroup)

    Hi this appears to work fine on the latest version so i’ll close this ticket.

    Thanks for the prompt response

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Invalid type. Expected: object, given: string.’ is closed to new replies.