• Resolved bigneno

    (@bigneno)


    After the last update the plugin causes a fatal error – a conflict with WP Mail SMTP plugin.

Viewing 3 replies - 1 through 3 (of 3 total)
  • jazzypuntnl

    (@jazzypuntnl)

    Here too. Fatal error and mails won’t send

    The fatal error is related to the parameter type added in this commit. You should remove it to fix the issue.

    -	public function set_plaintext_body( PHPMailer $phpmailer ) {
    +	public function set_plaintext_body( $phpmailer ) {

    I use Icegram Express to send emails. I don’t know why the $phpmailer object is not typed as PHPMailer.

    Plugin Author Danny van Kooten

    (@dvankooten)

    Heh, not sure why that parameter type is fatal’ing. Perhaps it’s the class_alias when using a WordPress version that’s shipping the namespaced version of PHPMailer?

    Anyway, to simplify, I removed the type-hint in its entirety from version 1.2.0.

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