You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to sign up through the shortcode with a new email address, the list is updated on the sailthru side, but the server throws a 500 and the user doesn't see a "Thank You" message.
When I try to sign up through the shortcode with a new email address, the list is updated on the sailthru side, but the server throws a 500 and the user doesn't see a "Thank You" message.
$profile is initialized as a boolean here https://github.com/sailthru/sailthru-wordpress-plugin/blob/master/widget.subscribe.php#L377
For a new email address, an error will be tried/caught here: https://github.com/sailthru/sailthru-wordpress-plugin/blob/master/widget.subscribe.php#L380
So far, $profile is still set to false.
We pass $profile into a function here https://github.com/sailthru/sailthru-wordpress-plugin/blob/master/widget.subscribe.php#L429
That function's signature requires $profile to be an array, not a bool here: https://github.com/sailthru/sailthru-wordpress-plugin/blob/master/widget.subscribe.php#L429
And we get a 500.
The text was updated successfully, but these errors were encountered: