Support » Plugin: MailPoet Newsletters (Previous) » Fatal PHP error Adding A User

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author MailPoet

    (@wysija)

    What’s PHP version running on your website?

    Thread Starter Jeffrey Schutzman

    (@jeffpyebrookcom)

    Php 7

    I found a temporary workaround. The error happens on the second call to adding a user because the return type is being set to object somewhere in the previous get model call. It is never restored to array for subsequent calls.

    My hack is to explicitly set the returned type property in the structure to array just prior to adding the user.

    Plugin Author MailPoet

    (@wysija)

    Cool, glad you found that.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal PHP error Adding A User’ is closed to new replies.