Error #19

ID19
Entry ID262
MessageClass yii\swiftmailer\Mailer does not exist
Error Code-1
File/app/vendor/yiisoft/yii2/di/Container.php
Line415
Created2015-07-13 12:56:35

Stack Trace

Showing 1-15 of 15 items.
#FileLineCalledArgs
1/app/vendor/yiisoft/yii2/di/Container.php415ReflectionClass->__construct
[
    0 => 'yii\\swiftmailer\\Mailer'
]
2/app/vendor/yiisoft/yii2/di/Container.php358yii\di\Container->getDependencies
[
    0 => 'yii\\swiftmailer\\Mailer'
]
3/app/vendor/yiisoft/yii2/di/Container.php151yii\di\Container->build
[
    0 => 'yii\\swiftmailer\\Mailer'
    1 => []
    2 => [
        'useFileTransport' => true
    ]
]
4/app/vendor/yiisoft/yii2/BaseYii.php344yii\di\Container->get
[
    0 => 'yii\\swiftmailer\\Mailer'
    1 => []
    2 => [
        'useFileTransport' => true
    ]
]
5/app/vendor/yiisoft/yii2/di/ServiceLocator.php133yii\BaseYii::createObject
[
    0 => [
        'class' => 'yii\\swiftmailer\\Mailer'
        'useFileTransport' => true
    ]
]
6/app/vendor/yiisoft/yii2/di/ServiceLocator.php71yii\di\ServiceLocator->get
[
    0 => 'mailer'
]
7/app/tests/codeception/_app/models/ContactForm.php49yii\di\ServiceLocator->__get
[
    0 => 'mailer'
]
8/app/tests/codeception/_app/controllers/MailController.php19tests\app\models\ContactForm->sendEmail
[
    0 => 'admin@example.com'
]
9unknown0tests\app\controllers\MailController->actionIndex
[]
10/app/vendor/yiisoft/yii2/base/InlineAction.php55call_user_func_array
[
    0 => [
        0 => [
            'enableCsrfValidation' => true
            'actionParams' => []
            'id' => 'mail'
            'module' => [
                'defaultRoute' => 'site'
                'catchAll' => null
                'controller' => 'Object(tests\\app\\controllers\\MailController)'
                'controllerNamespace' => 'tests\\app\\controllers'
                'name' => 'Yii2 Audit Demo'
                'version' => '1.0'
                'charset' => 'UTF-8'
                'language' => 'en-US'
                'sourceLanguage' => 'en-US'
                'layout' => 'main'
                'requestedRoute' => 'mail/index'
                'requestedAction' => 'Object(yii\\base\\InlineAction)'
                'requestedParams' => 'Array'
                'extensions' => 'Array'
                'bootstrap' => 'Array'
                'state' => 3
                'loadedModules' => 'Array'
                'params' => 'Array'
                'id' => 'yii2-audit-web'
                'module' => null
                'controllerMap' => 'Array'
                '__class' => 'yii\\web\\Application'
            ]
            'defaultAction' => 'index'
            'layout' => null
            'action' => [
                'actionMethod' => 'actionIndex'
                'id' => 'index'
                'controller' => 'Object(tests\\app\\controllers\\MailController)'
                '__class' => 'yii\\base\\InlineAction'
            ]
            '__class' => 'tests\\app\\controllers\\MailController'
        ]
        1 => 'actionIndex'
    ]
    1 => []
]
11/app/vendor/yiisoft/yii2/base/Controller.php151yii\base\InlineAction->runWithParams
[
    0 => [
        'r' => 'mail/index'
    ]
]
12/app/vendor/yiisoft/yii2/base/Module.php455yii\base\Controller->runAction
[
    0 => 'index'
    1 => [
        'r' => 'mail/index'
    ]
]
13/app/vendor/yiisoft/yii2/web/Application.php84yii\base\Module->runAction
[
    0 => 'mail/index'
    1 => [
        'r' => 'mail/index'
    ]
]
14/app/vendor/yiisoft/yii2/base/Application.php375yii\web\Application->handleRequest
[
    0 => [
        'enableCsrfValidation' => false
        'csrfParam' => '_csrf'
        'csrfCookie' => [
            'httpOnly' => true
        ]
        'enableCsrfCookie' => true
        'enableCookieValidation' => false
        'cookieValidationKey' => null
        'methodParam' => '_method'
        'parsers' => []
        '__class' => 'yii\\web\\Request'
    ]
]
15/app/tests/codeception/_app/web/index.php11yii\base\Application->run
[]