SDKiller / zyx-phpmailer

PHPMailer integration for Yii2 framework
BSD 3-Clause "New" or "Revised" License
2 stars 5 forks source link

Unknown method #1

Closed dondohariwibowo closed 10 years ago

dondohariwibowo commented 10 years ago

Halo there , i got this error msg ,

" Unknown method: zyx\phpmailer\Message::getSwiftMessage() "

install via composer.

SDKiller commented 10 years ago

Hi.

Using Yii 2 app beta in debug mode? It is Yii 2 debug bug ))).

See this issues: https://github.com/yiisoft/yii2/issues/2870 , https://github.com/yiisoft/yii2/issues/3278

Have been fixed already in https://github.com/yiisoft/yii2-debug/ dev-master: https://github.com/yiisoft/yii2-debug/commit/1d0d2a02d9651978285013a9449cb54fc5842fa1

To fix this try to replace file vendor / yiisoft / yii2-debug / panels / MailPanel.php with the last version from https://github.com/yiisoft/yii2-debug/ dev-master or apply patch.