Skip to content

quoted_printable_encode() expects parameter 1 to be string, array given #40

@edwinricaurte

Description

@edwinricaurte

After upgrade to Laravel 5.6, the system stopped working.

quoted_printable_encode() expects parameter 1 to be string, array given

/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/ContentEncoder/NativeQpContentEncoder.php

public function encodeString($string, $firstLineOffset = 0, $maxLineLength = 0)
{
    if ($this->charset !== 'utf-8') {
        throw new RuntimeException(
            sprintf('Charset "%s" not supported. NativeQpContentEncoder only supports "utf-8"', $this->charset));
    }

    **return $this->standardize(quoted_printable_encode($string));**
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions